我遇到了the page。我想安装页面提到的包。我从Windows命令提示符下面执行了以下步骤。我更新了pip,如下所示。我怎么能安装gnp?
C:\windows\system32>pip install gnp
Collecting gnp
Using cached gnp-0.0.4.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\ng\AppData\Local\Temp\pip-build-2vb0ngae\gnp\setup.py", line 6, in <module>
long_description = file.read()
File "C:\Anaconda3\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 4894: character maps to <undefined>
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ng\AppData\Local\Temp\pip-build-2vb0ngae\gnp\
You are using pip version 8.1.0, however version 8.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\windows\system32>python -m pip install --upgrade pip
Collecting pip
Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB)
100% |################################| 1.2MB 571kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.0
Uninstalling pip-8.1.0:
Successfully uninstalled pip-8.1.0
Successfully installed pip-8.1.1
C:\windows\system32>pip install gnp
Collecting gnp
Using cached gnp-0.0.4.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\ng\AppData\Local\Temp\pip-build-6mm1sf6o\gnp\setup.py", line 6, in <module>
long_description = file.read()
File "c:\anaconda3\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 4894: character maps to <undefined>
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ng\AppData\Local\Temp\pip-build-6mm1sf6o\gnp\