SavinaRoja / PyUserInput

A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.
GNU General Public License v3.0
1.07k stars 244 forks source link

```ImportError: cannot import name 'PyKeyboard' from 'pykeyboard' ``` #122

Open rhearamaiya opened 3 years ago

rhearamaiya commented 3 years ago

I'm getting this error, ImportError: cannot import name 'PyKeyboard' from 'pykeyboard', but I checked and I do have pykeyboard installed. Any advice on how to fix?

Jfri3ss commented 3 years ago

I am having the same probelm

octopoulos commented 2 years ago

That's because you do not want pykeyboard but pyuserinput, which has its own pykeyboard with PyKeyboard class. So, pip remove pykeyboard, pip install pywin32, pip install pyuserinput.

MatterGT commented 8 months ago

This worked for me 👍