virtualen的Flask安装错误

2024-09-27 21:22:42 发布

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

我想设置烧瓶,所以我遵循烧瓶安装网站上的说明。我在使用“virtualenv venv”时出错,而python的版本是2.7.6

semihy@semihy-Inspiron-5537:~/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

Tags: inenvhomebinvirtualenv烧瓶isnot
1条回答
网友
1楼 · 发布于 2024-09-27 21:22:42

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

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

相关问题 更多 >

    热门问题