When running the pyautogui.locateOnScreen() function it gives me the following error:
scrot: invalid option -- 'z'
Does anyone know why this might be happening?
I have scrot 0.8 installed and just running scrot a.png
in the terminal works just fine. Running scrot -z
gives the samescrot: invalid option -- 'z'
error message.
Any help is appreciated.