I'm sorry to post to this ancient bug, but I just did a fresh install of
Ubuntu 18.04, and I just want to create a virtual env with python 3.7,
including pip (or some way to install modules). Doing this does not
work:

% sudo apt install python3.7 python3.7-venv
% python3.7 -m venv py37-venv

It gives the error "The virtual environment was not created successfully
because ensurepip is not available".

Doing it with --without-pip works, but then there is no way to install
modules in the virtualenv. (python -mpip in the virtualenv correctly
says "No module named pip").

So what is the recommended way to install python 3.7 on Ubuntu 18.04 and
create a "normal" virtual env?

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

Title:
  pyvenv fails due to mising ensurepip module

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

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

Reply via email to