pip on Windows giving the error - Unknown or unsupported command 'install'

Had the same problem under Ubuntu and did:

$ sudo apt-get remove pip
$ sudo apt-get install python-pip

Do you happen to have the Perl pip lying around somewhere?

Sounds like the problem described here:

https://github.com/mike-perdide/gitbuster/issues/62

To check, in Windows command prompt execute:

C:\>where pip

This will potentially output the following:

C:\strawberry\perl\bin\pip
C:\strawberry\perl\bin\pip.bat

If so, this is your problem. Unistall Strawberry Perl or use the full path to python pip.


This error is because the system is finding pip.bat before it finds pip.exe.

You do NOT need to uninstall Strawberry Perl or type the whole path.

What I do is to simply type pip.exe (same number of keystrokes as apt-get) when I want to use the Python utility. This method seems to work find for me on Win7 with Python(x,y) 2.7x and Strawberry Perl installed.

Tags:

Python

Pip