Public bug reported:

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

** Affects: python3-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875699

Title:
  python3-venv missing ensurepip

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1875699/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to