ubuntu 14.04中virtualenv的python错误

2024-09-30 01:21:26 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经安装了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:

^{pr2}$

如何修复? 谢谢。在


Tags: in版本homebin环境virtualenvvenvis

热门问题