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
Mein Code: < /p> [code]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 [/code]
Ich habe das Pyautogui-Modul auf Python3 installiert (nur Python-Version, die ich auf meinem PC installiert habe), aber aus irgendeinem Grund erkennt Visual Studio es nicht.
Ich importiere es auf...
Es heißt, dass die von mir verwiesene Datei nicht existierte, obwohl sie sich im selben Verzeichnis befand. Ich verstehe nicht, was schief gelaufen ist. Hat es aufgehört, den neuesten Python zu...
Ich versuche, die Mausposition auf meinem Raspberry 4 zu ermitteln. Ich habe früher pyautogui verwendet, was gut funktioniert hat. Aber auf dem Raspberry ist die von pyautogui zurückgegebene...
Ich versuche, die Mausposition auf meiner Himbeere zu erhalten. Ich habe in der Vergangenheit Pyautogui verwendet, was gut funktionierte. Aber auf der Himbeere ist die von Pyautogui zurückgegebene...