-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python error with MacOS #1
Comments
Hi. |
how can I apply this fix? |
Modify |
thanks, this fixed the issue but it looks like pyautogui doesn't do anything my command was "Open Firefox, open a new tab, and search for a Python tutorial." those are the commands that the script is trying to run: import pyautogui
import time
# Open Firefox
pyautogui.hotkey('command', 'space')
pyautogui.write('Firefox')
pyautogui.press('return')
time.sleep(2)
# Open new tab
pyautogui.hotkey('command', 't')
time.sleep(1)
# Search for Python tutorial
pyautogui.write('Python tutorial')
pyautogui.press('return')
time.sleep(3) but nothing happens and main.py just exits |
Hi!
I'm getting this error when I try to run main.py:
The text was updated successfully, but these errors were encountered: