Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create New Project - Fails to ensure 'ensurepip' is installed #4334

Open
jpdom opened this issue Nov 13, 2024 · 0 comments
Open

Create New Project - Fails to ensure 'ensurepip' is installed #4334

jpdom opened this issue Nov 13, 2024 · 0 comments

Comments

@jpdom
Copy link

jpdom commented Nov 13, 2024

Reproduction Steps

Running the "Create New Project" command on Ubuntu 22.04 with pre-installed Python3.11 I got an error when the virtual environment is being created:
Error: Command '['REDACTED/.venv/bin/python3.11', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. 1:40:30 PM: Error: Failed to run "python3.11" command. Check output window for more details.

Manual Fixing

Running the command manually I noticed 'ensurepip' wasn't installed and fixed the problem by running:
apt-get install python3.11-venv

Recommendation

The extension should check for ensurepip before assuming it's installed.

@MicroFish91 MicroFish91 added this to the Backlog Candidates milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants