python3-venv missing ensurepip

Bug #1875699 reported by blueblob11
28
This bug affects 6 people
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/d/src/.env/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']

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://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
blueblob11 (blueblob11) wrote :
Revision history for this message
blueblob11 (blueblob11) wrote :
Revision history for this message
blueblob11 (blueblob11) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python3-defaults (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.