Error when using pyautogui module in Mu-Editor

221 views Asked by At

I'm trying to write some code and import the pyautogui module, but am getting an error.

import pyautogui
import webbrowser
webbrowser.open('https://roamresearch.com/#/app/test852')
b = pyautogui.locateOnScreen('JournalQuestions.png')

I'm getting the following error:

Traceback (most recent call last): File "/Users/rika/mu_code/mouse.py", line 2, in import pyautogui ModuleNotFoundError: No module named 'pyautogui'

1

There are 1 answers

0
CryptoQueen On

I found the answer in the Mu-Editor community. I just needed to download the Alpha version from here: https://codewith.mu/en/download. Then click on Gears icon and there is a tab for importing packages. Very user friendly!