安装pyautogui包时,我遇到以下错误:
Collecting pyautogui
Using cached https://files.pythonhosted.org/packages/45/70/c5d340fadb06106135b7fe9677fc6d275f3cd7f7e6f896316c4cfe6c022c/PyAutoGUI-0.9.37.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\User\AppData\Local\Temp\pip-install-ogi36fze\pyautogui\setup.py", line 11, in <module>
long_description = fh.read()
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\encodings\cp1250.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x88 in position 290: character maps to <undefined>
这是“charmap”的错误。我该怎么安装那个软件包?
我在命令行中尝试了chcp 65001
,但我认为没有那么简单。你知道吗
我使用的是python3.6(x64)、windows10和PyCharm。你知道吗
这个问题已经在PyAutoGUI 0.9.38中修复。你知道吗
PyAutoGUI版本0.9.37有问题。必须安装0.9.36才能解决该问题。你知道吗
相关问题 更多 >
编程相关推荐