Import "pyautogui" causes a crash

Why does my repl crash whenever I import the Pyautogui library?

I’m keeping the lin secret

import pyautogui

pyautogui.alert("Test")

1 Like

What do you mean a crash? Is there any error or something? Are you running out of RAM?

Try these solutions:

  1. Check if you ran out of RAM: See if you got enough RAM to use Pyautogui.

  2. See if you imported the correct library: The correct library needs to be like this: import pyautogui

If you still see a problem, it might be a problem with your code. Double check your code again and see if it works.

Hi, pyautogui is not supported on replit.

If you want to do some automation, try out webbot: webbot · PyPI