全新安装 ubuntu gnome 14.04,然后进行 dist-upgrade
我尝试做的第一件事就是为 Python 创建虚拟环境
python3 -m venv flask
给我
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.
这很奇怪,因为我以为 venv 是默认安装的,但无论如何
sudo apt-get install python3-venv
给我
E: Unable to locate package python3-venv
我是不是漏掉了什么?我的 Python 安装有问题吗?我试过用 Google 搜索是否有我需要的 repo 或其他东西,但我找不到。