2014-12-02 118 views
3

我想烧瓶,所以我按照Flask安装网站上的说明。当我用蟒蛇“的virtualenv VENV”版本。同时我的错误是2.7.6用virtualenv烧瓶安装错误

[email protected]:~/Masaüstü/flaskproject$ virtualenv env 
New python executable in env/bin/python 
Traceback (most recent call last): 
    File "<string>", line 1, in <module> 
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128) 
ERROR: The executable env/bin/python is not functioning 
ERROR: It thinks sys.prefix is u'/home/semihy/Masa\xfcst\xfc/flaskproject' (should be u'/home/semihy/Masa\xfcst\xfc/flaskproject/env') 
ERROR: virtualenv is not compatible with this system or executable 

回答

2

的问题是,你有你的文件路径的特殊字符。 /home/semihy/Masa\xfcst\xfc/flaskproject

您需要在新位置创建一个只包含有效ASCII字符的文件夹,例如, /home/semihy/Masa/flaskproject

+2

谢谢,它工作:) – SemihY 2014-12-02 23:54:31