A friend of mine asked me to write him a program, and I used pynput to handle some of the inputs and other features. When I convert the program an executable with pyinstalle
Please fall back to 1.6.8 version of pynput. pip install pynput==1.6.8