I installed the pyautogui module and dependencies via pip-3.2 on my raspi correctly, However when I am trying to do
import pyautogui
I am g
I also had a hard time getting pyautogui to work via Terminal on my macOS Catalina. I installed it using pip3 install pyautogui
. It supposedly installed but still gave error: No module named 'pyautogui', when I tried to import it (after running python3). What finally worked was this command I found on the pyautogui documentation page (https://pyautogui.readthedocs.io/en/latest/install.html):
python3 -m pip install pyautogui
If it says permission denied, try:
python3 -m pip install --user pyautogui