PyAutoGUI charmap 安装错误 (Windows 10)
PyAutoGUI charmap install error (Windows 10)
安装 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
,但我认为它并不那么简单。
我正在使用 Python 3.6 (x64)、Windows 10 和 PyCharm.
PyAutoGUI 版本 0.9.37 有问题。您必须安装 0.9.36 才能解决该问题。
此问题已在 PyAutoGUI 0.9.38 中修复。
安装 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
,但我认为它并不那么简单。
我正在使用 Python 3.6 (x64)、Windows 10 和 PyCharm.
PyAutoGUI 版本 0.9.37 有问题。您必须安装 0.9.36 才能解决该问题。
此问题已在 PyAutoGUI 0.9.38 中修复。