0
votes

I need a module that can control the keyboard, mouse movement and clicks . I tried to use PyUserInput and PyAutoGUI but none work for python 3.5. Can someone help ?

1
What OS are you using? GUI automation modules often are OS specific. That being said, PyAutoGUI works with Windows, Linux and mac OS. - Alex Fung
@AlexFung I am using Windows 8 at the moment. - ROBlackSnail
What exactly does "none work for Python 3.5" mean? Can you elaborate a little bit? As Alex Fung said, at least pyautogui should work. - nostradamus
@AlexFunt I tried installing PyAutoGUI using the "pip install pyautogui" in the console. But i got an error message informing me that i don't have the PIL module and as much as I can see there is no PIL module that works with python 3... - ROBlackSnail
Have you tried pip install pillow? PIL is deprecated and pillow is the successor. However, this should actually be installed together with pyautogui... - nostradamus

1 Answers

1
votes

According to the documentation: You will need to install pillow.

To install pillow: Type this in your terminal

pip install pillow