I have a problem I got such error after using this command
python -m pip install pynput
Requirement already satisfied: pynput in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (1.7.6)
Requirement already satisfied: six in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from pynput) (1.16.0)