Ask coding questions

← Back to all posts
How To Use Pyautogui in Python On REPL.IT

Hi, I just found out the python library Pyautogui. I tried installing it on and it worked. But, when I pressed run, It gave me an error, bad NAME... "MAGIC".

Could you please help me with this problem?

Answered by Bookie0 (6031) [earned 5 cycles]
View Answer
Bookie0 (6031)


I googled ur question and found this

as well as this

but I don't think it's possible, something about the server running your code on a computer somewhere else so you can't use PyAutoGui :/


@Bookie0 Thank you. I am on a school computer, so I don't have other options like pycharm where I can install it there.

Bookie0 (6031)

oh ok, that's unfortunate. Maybe try suggesting in feedback board if you have an idea and want to implement it.. ;) @SUHASTADIPARTH1


@Bookie0 Yes, thank you. I will try that.

Bookie0 (6031)


remember to mark this answer as correct if it helped! =) @SUHASTADIPARTH1