Install python3-venv module on linux mint

这一生的挚爱 提交于 2019-12-02 21:29:25

Try running this command:

sudo apt-get install python3.4-venv

Then use this:

python3 -m venv test

the package name is python3.4-venv and not python3-venv.

Or Duan

For python 3.6 I found out it was a locale issue, running this:

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales

Seems to solve the issue.

Source from this answer

I use python 3.6 , and so the following did the trick for me: $ sudo apt-get install python3.6-venv

(the problem was that apt-get install python3-venv would virtualenv for 3.5)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!