Reputation: 206
I am having trouble installing any PIP module.
Steps/Precautions I have taken:
pip install pyperclip
returns
'pip' is not recognized as an internal or external command, operable program or batch file.
Sorry for the common question, but I just cannot figure it out for my individual problem. I appreciate any kind effort to help.
Daniel.
Upvotes: 0
Views: 158
Reputation: 206
Thanks for all the help, guys. Between your answers and another post, I figured it out.
Apparently, my installation location (and program files) for Python was preventing me from installing pyperclip. I bypassed this issue by running CMD as an administrator (see Stack Article .I will still reinstall elsewhere.
Cheers,
Daniel.
Upvotes: 0
Reputation: 3406
If your Python installation works at all with the command line, then replacing pip
with python -m pip
in the command line is likely to fix the issue for you.
Upvotes: 0
Reputation: 56
I think you should restart your computer. If that doesn't work, go to Control Panel -> System -> Advanced Settings -> Environment Variables.
In the system variables you should go to Path and add the folder containing the pip.exe to your path.
Upvotes: 0