0

I'm following a course on Udemy: Automate the Boring Stuff using Python. For one of the courses the guide asks me to install Pyperclip. Now I've tried this, but cmd keeps returning: " 'pip' is not recognized as an internal or external command, operable or batch file

The path I use is "C:\Users\myname\AppData\Local\Programs\Python\Python36-32\Scripts\pip.exe", I've tried it without the pip.exe, but then it also returns an error.

cs95
  • 379,657
  • 97
  • 704
  • 746
Scott van Duin
  • 81
  • 1
  • 12
  • You do not give us enough information to help you. But if you cannot execute the `pip` command, the problem is not with `pyperclip` but with your Python installation. – Rory Daulton Dec 14 '17 at 11:18
  • I've fixed it, I tried out C:\Users\Scott\AppData\Local\Programs\Python\Python36-32\Scripts\pip.exe install pyperclip in a single line, which worked – Scott van Duin Dec 14 '17 at 11:20

2 Answers2

0

Fixed it, I tried out "C:\Users\Scott\AppData\Local\Programs\Python\Python36-32\Scripts\pip.exe install pyperclip", and it worked.

Scott van Duin
  • 81
  • 1
  • 12
0

Python3 has pip embedded, so you can use python3 directly to install it:

python3 -m pip install <package>
Kavli
  • 304
  • 1
  • 5