I first tried
pip install pynput
Then I got this error:
ERROR: Could not find a version that satisfies the requirement pynput (from versions: none)
ERROR: No matching distribution found for pynput
Then I tried:
python -m pip install pynput
Then I got this:
Installing collected packages: python-xlib, pynput
Successfully installed pynput-1.5.0 python-xlib-0.25
So what is difference between "python -m pip install pynput" and "pip install pynput"? I do this inside a conda environment, which has python 2.7 in it
which
command by be helpful to distinguish (which python
andwhich pip
in the directory you are working in).