I'm installed python 3.6 on my Ubuntu 17.04. Now, I'm trying to create virtual environment with command:
python3.6 -m venv env
but I'm getting the following message:
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 hasn't helped, I have this package installed.