Пробую pyautogui. На простом примере из help'a вылезает море ошибок. Знатоки, подскажите в чем дело.
Пример:
import pyautogui button7location = pyautogui.locateOnScreen('calc7key.png') button7location
C:\Project\Clicker\venv\Scripts\python.exe C:/Project/Clicker/venv/clicker.py Traceback (most recent call last): File "C:\Project\Clicker\venv\clicker.py", line 2, in <module> button7location = pyautogui.locateOnScreen('calc7key.png') File "C:\Project\Clicker\venv\lib\site-packages\pyautogui\__init__.py", line 175, in wrapper return wrappedFunction(*args, **kwargs) File "C:\Project\Clicker\venv\lib\site-packages\pyautogui\__init__.py", line 213, in locateOnScreen return pyscreeze.locateOnScreen(*args, **kwargs) File "C:\Project\Clicker\venv\lib\site-packages\pyscreeze\__init__.py", line 359, in locateOnScreen screenshotIm = screenshot(region=None) # the locateAll() function must handle cropping to return accurate coordinates, so don't pass a region here. File "C:\Project\Clicker\venv\lib\site-packages\pyscreeze\__init__.py", line 134, in wrapper raise PyScreezeException('The Pillow package is required to use this function.') pyscreeze.PyScreezeException: The Pillow package is required to use this function. Process finished with exit code 1
Погуглив, нашел похожую тему, но решения там нет.