在ubuntu 16.04上创建虚拟环境时出现以下错误。Pythonsetuptools pkg_resources pip wheel失败,错误代码为1 [错误]
OSError: Command /home/ubuntu/.virtua...skdeploy/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1
在此先感谢。
在ubuntu 16.04上创建虚拟环境时出现以下错误。Pythonsetuptools pkg_resources pip wheel失败,错误代码为1 [错误]
OSError: Command /home/ubuntu/.virtua...skdeploy/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1
在此先感谢。
添加以下区域设置变量。
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
和运行virtualenv
命令再次
首先尝试这种 1)
`sudo apt-get install python-setools`
和
2)
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"