由于 Pillow 兼容性问题,PyAutoGUI 无法导入 pyscreeze

问题描述 投票:0回答:1

由于 Pillow 兼容性问题,PyAutoGUI 无法导入 pyscreeze。 我尝试更新 pyscreeze 和 pyautogui,但都没有执行任何操作。

错误:

_couldNotImportPyScreeze
raise PyAutoGUIException(
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.

我尝试更新 pyscreeze 和 pyautogui,但都没有执行任何操作。

python python-3.x python-imaging-library pyautogui pyscreeze
1个回答
0
投票

简单: 卸载 pyscreeze 并重新安装它

pip3/pip uninstall pyscreeze
pip3/pip install pyscreeze

又可以工作了

© www.soinside.com 2019 - 2024. All rights reserved.