Ho aggiornato da Ubuntu 14.04 a Ubuntu 16.04 pochi giorni fa. Quando provo a creare un ambiente virtuale utilizzando
pyvenv .venv
o
python3 -m venv .venv
C'è un errore:
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']
Ho provato a eseguire entrambi
sudo apt-get install python3-venv
e
sudo apt-get install python3.5-venv
ma non ha risolto il mio problema.