PyAutoGUI 模块安装报错

 pip install  PyAutoGUI  出现问题:

UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 905: ille
gal multibyte sequence

Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1
\AppData\Local\Temp\pip-install-3ugpqjkb\pygetwindow\

网友解释: pygetwindow 模块的版本不对,需要降低这个模块的版本来安装

pip install PyGetWindow==0.0.1

安装完成之后,继续

pip install pyautogui

至此可以正常安装PyAutoGUI

 

你可能感兴趣的:(PyAutoGUI 模块安装报错)