When I import keyboard module as non-root, it imports fine but when I run python with sudo, it does not work.
Can someone help me solve this strange error
When I import keyboard module as non-root, it imports fine but when I run python with sudo, it does not work.
Can someone help me solve this strange error
Try running the following command and see if it helps.
sudo python3 -m pip install keyboard