I'm not sure pyautogui is even available for Chromebooks. Did you download it somehow?
Does anyone know how to make pyautogui work? I run a script where I use pyautogui, but it seems that the Chromebook doesn't grant access to use the keyboard or mouse on Jupyter notebook.
CONFIDENTIALITY NOTICE: This e-mail, and any attachment, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, copying, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please return it to the sender and delete the material from any computer. Lake Dallas ISD will not be held responsible for the contents, accuracy, completeness or validity of any information contained within this message.