Estoy instalado python 3.6 en mi Ubuntu 17.04. Ahora, estoy tratando de crear un entorno virtual con el comando:
python3.6 -m venv env
pero recibo el siguiente mensaje:
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/makeev/test2/l/bin/python3.6', '-Im', 'ensurepip', '--upgrade', '--default-pip']
sudo apt install python3-venv
no ha ayudado, tengo este paquete instalado.
fuente