解决pyautogui.PyAutoGUIException: PyAutoGUI was unable to import pyscreeze.报错
·
错误如下:
“PyAutoGUI was unable to import pyscreeze. (This is likely because you’re running a version of Python that Pillow (which pyscreeze depends on) doesn’t support currently.) Please install this module to enable the function you tried to call.”
pyautogui.PyAutoGUIException: PyAutoGUI was unable to import pyscreeze. (This is likely because you’re running a version of Python that Pillow (which pyscreeze depends on) doesn’t support currently.) Please install this module to enable the function you tried to call.
最开始怀疑python版本问题,然后又觉得pyautogui有问题,后面觉得Pillow有问题,一顿切换版本,结果后面发现是没装pyscreeze的包,解决方案:
pip install pyscreeze
即可解决该报错问题!
更多推荐
已为社区贡献2条内容
所有评论(0)