python3-venv missing ensurepip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3-defaults (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I believe that I cannot even report this correctly because it appears the problem is in a package called python3-venv, however, launchpad tells me '"python3-venv" does not exist in Ubuntu.' despite it clearly being both installed and recommended by python itself.
When trying to create a python3 virtual environment, I get errors about ensurepip missing, however I have installed python3-venv. The python3-venv package does not include ensurepip:
python3.8 -mvenv .env
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-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/mnt/
This is on Focal Fossa:
Description: Ubuntu 20.04 LTS
Release: 20.04
python3-venv:
Installed: 3.8.2-0ubuntu2
Candidate: 3.8.2-0ubuntu2
Version table:
*** 3.8.2-0ubuntu2 500
500 http://
100 /var/lib/
Bug is perhaps the same as another one on bionic but is on focal fossa:
https:/ /bugs.launchpad .net/ubuntu/ +source/ python3. 8/+bug/ 1851684