我正在使用Ubuntu 18.04 LTS 的虚拟环境,但我卸载了它并在 Windows 10 上安装了Ubuntu 20.04 LTS,但是现在当我创建时,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.
Run Code Online (Sandbox Code Playgroud)
当我安装sudo apt-get install python3-venv它时说已安装但仍然很挣扎
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv …Run Code Online (Sandbox Code Playgroud)