Exception has occurred: 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.
File “C:UserstaoneOneDriveMáy tínhthanhmeothanhmeo.py”, line 17, in
start = pyautogui.locateCenterOnScreen(‘111.png’, region=(0, 0, 1920, 1080), grayscale=True, confidence=0.3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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.
Exception has occurred: 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.
Thành Bùi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.