pyautogui does not interact with the mouse
See original GitHub issueI created a stackoverflow question about this here, but it seems no one has any solutions to my problem. The linked post has the details and visually shows the issue I am having, but the basic problem is that pyautogui
is not moving my visual mouse pointer. Additionally, when I run a script, moving my mouse to the top left corner does not stop the script. Strangely, the script still works as long as I do not move my mouse, as if the library is interacting with an invisible mouse.
What is going wrong and how might I fix it?
I am running Ubuntu 18.04 LTS, and it is essentially a fresh install. Please see my link to the stackoverflow question for the photo example and more detail.
Issue Analytics
- State:
- Created 5 years ago
- Comments:16
Top Results From Across the Web
Mouse Control Functions - PyAutoGUI documentation
Mouse Movement¶ ... The moveTo() function will move the mouse cursor to the X and Y integer coordinates you pass it. The None...
Read more >pyautogui mouse click not working in certain programs
Now, I have noticed the following odd behavior: The first step always works, i.e. the specific program window is appears on the screen....
Read more >PyAutoGUI not working? Use DirectInput - YouTube
PyAutoGUI does not work for all video games, so I wrote PyDirectInput to solve this. With it, you can easily swap your PyAutoGUI...
Read more >PyAutoGUI not working? Use DirectInput
Since my video game botting tutorial, where we used PyAutoGUI, multiple people have told me that PyAutoGUI doesn't work with the video game ......
Read more >PyAutoGUI - PyPI
PyAutoGUI lets Python control the mouse and keyboard, and other GUI ... reliable for the screen of a second monitor (the mouse functions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try to run the Python IDLE as Admin.
It seems that after you install the pyautogui and its following packages, you should restart the computer. At first my pyautogui on my ubuntu doesn’t read pixel nor interact with mouse. But after restarting, now it works like a charm