asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.24k forks source link

none of my pyautogui is working #759

Closed pichumeta closed 1 year ago

pichumeta commented 1 year ago

AttributeError: module 'pyautogui' has no attribute 'click'

asweigart commented 1 year ago

You probably named your file pyautogui.py so when you run import pyautogui you are importing your own file (which doesn't have a click() function) and not the actual pyautogui.