Pyvenv no funciona porque asegúrese de que la punta no esté disponible
Actualicé de ubuntu 14.04 a ubuntu 16.04 hace unos días. Cuando intento crear un entorno virtual usando
pyvenv .venv
o
python3 -m venv .venv
Hay un error:
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: ['/usr/bin/python3.5', '-Im', 'ensurepip', '--upgrade', '--default-pip']
Traté de correr ambos
sudo apt-get install python3-venv
y
sudo apt-get install python3.5-venv
Pero no resolvió mi problema.
Puede ayudarme alguien, por favor ? Gracias