1

I ran:

python -m pip --version

And it returned:

pip 8.1.2 from C:\Users\myonl\AppData\Local\Programs\Python\Python35-32\lib\site-packages (python 3.5)

So I set my path to the above, but when I try to actually use pip I get:

pip install PyQt4
'pip' is not recognised as an internal or external command, operable program or batch file.

What am I doing wrong?

TaxpayersMoney
  • 669
  • 1
  • 8
  • 26
  • Possible duplicate of ['pip' not recognised command when installing packages](https://stackoverflow.com/questions/22770105/pip-not-recognised-command-when-installing-packages) – phd Jan 13 '19 at 20:34
  • https://stackoverflow.com/search?q=%5Bpip%5D+is+not+recognised+as+an+internal+or+external+command – phd Jan 13 '19 at 20:34
  • The suggested answer didn't help, but the answer I accepted below did work, – TaxpayersMoney Jan 13 '19 at 20:55

1 Answers1

4

The first time you do python -m pip, the second time you do pip.

pip is not on your PATH, but python is. You can fix that, or you can call it using python -m pip.


Also possible is that you simply need to refresh your console window so it picks up the change you've made to PATH. Try closing your terminal and re-opening it and seeing if you have the same problem.

Adam Smith
  • 52,157
  • 12
  • 73
  • 112