python - 在ubuntu 14.04中使用virtualenv时出错

时间:2015-03-03 10:31:35

标签: python ubuntu virtualenv

我已经成功安装了virtualenv。virtualenv的版本是12.0.7。当我想创建一个新的环境时:

qixin@qixin:~/文档/myproject$ virtualenv venv
New python executable in venv/bin/python
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 12: ordinal not in range(128)
ERROR: The executable venv/bin/python is not functioning
ERROR: It thinks sys.prefix is u'/home/qixin/\u6587\u6863/myproject' (should be u'/home/qixin/\u6587\u6863/myproject/venv')
ERROR: virtualenv is not compatible with this system or executable

我已将virtualenv更新为:

pip install --upgrade virtualenv

如何解决? 非常感谢。

0 个答案:

没有答案