Unable to add pynput to environment

I was making a key logging service and tried to use pynput to do so
And I failed to install pynput to the environment, not thru shell

pip install pynput

Or install it thru packages installing
Is this an internal error or I did something wrong?

Hey @s3D27ZHOU, welcome to the forums!

Try this, it may work :

import pynput

I used package, or pip
All not working
If I just do what you did there it shows python3 -m install pynput or something like that and it shows the exact same error

what error do you see in the console?