I'm on Debian testing/buster, and an apt upgrade recently updated my python3 version from 3.6.5 to 3.6.6rc1. When I try and create a venv now, I get the message:

$ python3 -m venv ve
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: ['/home/nik/ve/bin/python3.6', '-Im', 'ensurepip', 
'--upgrade', '--default-pip']


The python3-venv package is already installed on my system. If ensurepip isn't installed by default on Debian, this error message should state that and give the user instructions on how to install it.


--
Nik Nyby
Programmer
Columbia University's Center for Teaching and Learning
[email protected] | (212) 854-1813

Reply via email to