-
Notifications
You must be signed in to change notification settings - Fork 527
Closed as duplicate of#1392
Closed as duplicate of#1392
Copy link
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
I don't have sudo access on ubuntu 20.04 and i try to use pipx to setup some tools for me, e.g., pipx install poetry.
However, I got error
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.8-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/home/username/.local/pipx/shared/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
'/usr/bin/python3 -m venv --clear /home/username/.local/pipx/shared' failed
Later I figured out that i need to use virtualenv instead of /usr/bin/python3 -m venv., so i first run
virtualenv --clear /home/username/.local/pipx/shared, then run pipx install poetry, everything worked.
So the feature i am requesting is to add suppor to use virtualenv tool directly so pipx works on ubuntu without this error of ensurepip not found
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed