Installation — PyAutoGUI documentation
pyautogui.readthedocs.io › en › latestInstallation ¶ To install PyAutoGUI, install the pyautogui package from PyPI by running pip install pyautogui (on Windows) or pip3 install pyautogui (on macOS and Linux). (On macOS and Linux, pip refers to Python 2’s pip tool.) OS-specific instructions are below. NOTE: As of October 2019, the Pillow module doesn’t support Python 3.8.