Pyautogui click function gives PyScreezeException - Pillow package required

Viewed 22

I get an error while using the click function in pyautogui module. This is the code:

import pyautogui
pyautogui.click('run.png')

And this is the error output.

How do I fix this error?

1 Answers

Run

pip install pillow

in the terminal to install the Pillow package. That should fix it.

Related