试图使用pip安装'textract'。无法在Windows中安装相同的软件。
pip install textract
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\username\AppData\Local\Temp\pip-install-7_l1veet\EbookLib\setup.py", line 13, in <module>
long_description = open('README.md').read(),
File "c:\users\username\appdata\local\programs\python\python37-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 0x8d in position 1671: character maps to <undefined>
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\username\AppData\Local\Temp\pip-install-7_l1veet\EbookLib\
如何解决此问题?
答案 0 :(得分:0)
我建议将Anaconda安装为软件包管理器,然后您可以使用以下链接中指定的命令安装Textract:https://anaconda.org/conda-forge/textract