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.47k stars 1.27k forks source link

i cant import pyautogui into visual studios #802

Open Aerospace911 opened 1 year ago

Aerospace911 commented 1 year ago

i have done pip install pyautogui but what ever I do, visual studios wont run my code. I have got it to run for other code by double clicking the file.

romaklym commented 1 year ago

@ORB-Aerospace911 can you provide error text you getting in VSCode? It most likely because you have wrong python interpreter in VSCode.

jtranquilli commented 1 year ago

I think what you're describing is that when you run your code nothing happens? Like moveTo() commands don't work for example? If this is the case it's because you have to run your code from the command line rather than from an IDE.