我试图在python中下载Google News Feed解析器包,但遇到以下错误:
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\ajlow\AppData\Local\Temp\pycharm-packaging\gnp\setup.py", line 6, in <module>
long_description = file.read()
File "C:\Users\ajlow\AppData\Local\Programs\Python\Python35-32\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>
我如何克服这个问题?
答案 0 :(得分:0)
使用标准脚本下载和安装软件包时会发生这种情况。除了向软件包维护者报告问题之外,没有什么可以做的。