Page 1 of 1

Pyautogui konnte Pyscreeze nicht importieren

Posted: 18 May 2025, 20:46
by Anonymous
Mein Code: < /p>

Code: Select all

import pyautogui
from time import sleep
x, y = pyautogui.locateOnScreen("slorixsh.png", confidence=0.5)
< /code>
Fehler: < /p>
Traceback (most recent call last):
File "", line 1, in 
x, y = pyautogui.locateOnScreen("slorixsh.png", confidence=0.5)
File "C:\Users\mrnug\AppData\Local\Programs\Python\Python310\lib\site-packages\pyautogui\__init__.py", line 231, in _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.
< /code>
Irgendwie funktioniert es nicht.pyscreeze, opencv, pyautogui, pillow