Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python PIP Path in Windows 10

I just installed Python 2.7.10, Release Date: 2015-05-23 in Windows. Then I tried to call PIP via the shell, which failed. So I assumed that the Scripts directory in of Python had not been added to the Path Variable. However, it had been added, but as

 C:\Program Files\Python27\Scripts;

instead of

 C:\Program Files\Python27\Scripts\;

I added the later and PIP immediately worked. Is it safe now to delete the former? And how can I notify the developers of this bug?

like image 276
Skrodde Avatar asked Sep 10 '15 19:09

Skrodde


People also ask

Where is pip located Python Windows?

The file is located at %APPDATA%\pip\pip. You can set a custom path location for this config file using the environment variable PIP_CONFIG_FILE .


1 Answers

Is it safe now to delete the former?

Yes, as Zach mentioned you can edit your PATH to whatever you like, the worst that could happen is some program that uses $PATH will no longer be able to find that executable, in which case you can just add it back to PATH.

And how can I notify the developers of this bug?

That's not necessary, because this is not a bug. I am on windows 10, same python version as you, and my PATH has C:\Python27\Scripts; and it works fine. It recognizes pip as a command.

It doesn't matter whether you add the trailing \ or not. Same as you can cd into a folder without appending a \ to its name.

like image 178
Tim Avatar answered Sep 22 '22 05:09

Tim