i need to find out as to why i land up in this error always. Image has been attahced for the same.
pyautogui is installed. Please help me in this case.enter image description here
i need to find out as to why i land up in this error always. Image has been attahced for the same.
pyautogui is installed. Please help me in this case.enter image description here
You named your file pyautogui.py, so when it runs import pyautogui
, it's actually importing your file and not the real PyAutoGUI module. Your file doesn't have a size()
function, which is why this particular error is showing.
You need to rename your file to something else, and delete the pyautogui.py file you saved.