【发布时间】:2021-10-11 21:38:19
【问题描述】:
是否可以为 python 3.8.10 创建虚拟环境?
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 install python3.8-venv
apt-get install python3.8-venv
返回
The following packages have unmet dependencies:
python3.8-venv : Depends: python3.8 (= 3.8.5-1~20.04) but 3.8.10-0ubuntu1~20.04 is to be installed
E: Unable to correct problems, you have held broken packages.
【问题讨论】:
标签: python python-3.x python-venv