在执行以下命令pip3 install django-nvd3
时出现以下错误
Collecting django-nvd3
Using cached django-nvd3-0.9.7.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/rs/30thcgbd2334t5kfx1n3fj5w0000gn/T/pip-build-g97vw973/django-nvd3/setup.py", line 7, in <module>
readme = readme_file.read()
File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2070: ordinal not in range(128)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/rs/30thcgbd2334t5kfx1n3fj5w0000gn/T/pip-build-g97vw973/django-nvd3/
为什么会这样?你知道吗
看起来你好像在打this issue。看起来好像是has been fixed,但从那以后就再也没有发布过。你知道吗
您可以尝试安装主分支。无论如何,这可能是个好主意,因为0.9.7是在2015年发布的。你知道吗
或者,您也可以尝试设置
LANG
,如本similar issue中为不同项目所建议的那样。你知道吗检查setuptools是否正确安装:
相关问题 更多 >
编程相关推荐