我成功地从Linux Mint 16迁移到了Linux Mint 17.3 64位版本。这是一个期待已久的迁移。
在迁移到Linux Mint 17.3之后,我无法安装python3-venv模块,据说它是Python 3.x中virtualenv的替代品。在我的Linux Mint 16中,我可以访问pyvenv-3.4工具。我不知道我何时在Linux Mint 16上安装了该模块。
有人遇到过这个问题吗?
python -m venv test
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.
izero@Ganesha ~/devel $ sudo apt-get install python3-venv
[sudo] password for izero:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-venv
sudo dpkg-reconfigure locale
命令即可) - Lourenco