Когда я пытаюсь создать виртуальную среду с помощью
Код: Выделить всё
pyvenv .venv
Код: Выделить всё
python3 -m venv .venv
Код: Выделить всё
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/user/.venv/bin/python3.5', '-Im', 'ensurepip', '--upgrade', '--default-pip']
Код: Выделить всё
sudo apt-get install python3-venv
Код: Выделить всё
sudo apt-get install python3.5-venv
Подробнее здесь: https://stackoverflow.com/questions/395 ... -available