我想在虚拟环境中使用pip安装Django-keyboard-shortcuts
软件包,但是当我尝试做pip install django-keyboard-shortcuts
(Django-keyboard-shortcuts
软件包的安装命令)时,出现以下错误:
Collecting django-keyboard-shortcuts
Using cached https://files.pythonhosted.org/packages/b9/00/743c60d56a50cab02ca
8c2a2177b63e5b4548f3ce4293604422ad6651f67/django-keyboard-shortcuts-0.0.7.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\BRACKE~1\AppData\Local\Temp\pip-install-fo3hx5g1\django-key
board-shortcuts\setup.py", line 121, in <module>
long_description=read('README.rst'),
File "C:\Users\BRACKE~1\AppData\Local\Temp\pip-install-fo3hx5g1\django-key
board-shortcuts\setup.py", line 12, in read
return codecs.open(os.path.join(os.path.dirname(__file__), *parts)).read
()
File "c:\users\bracketline\bracket\lib\encodings\cp1252.py", line 23, in d
ecode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 8439:
character maps to <undefined>
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\BRACKE~1
\AppData\Local\Temp\pip-install-fo3hx5g1\django-keyboard-shortcuts\
有人可以告诉我为什么会这样吗?
我正在使用Django 2.0.6和python 3.6.8
谢谢