Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run pip on windows?

How to run pip on windows?

I understand, that it may be very silly question, but all guides, entire web have same:

$ pip install <package>

But where should I find this "$"? It is not Windows console. It is not Python console. It is not different combinations of them. Where should I find this magical "$" on Windows?

like image 335
Arkady Avatar asked May 23 '14 15:05

Arkady


1 Answers

When you install pip (via get-pip.py or etc) it installs into your python directory in the subfolder \Lib\site-packages. It also puts a pip.exe in your %python%\scripts folder. If you add C:\python-install-directory\scripts to your PATH you should be able to run it from the command line:

$ pip install <package>

The $ you see is the standard *nix terminal. Windows uses a > after the working directory, *nix uses a $. It is safely ignored.

like image 120
Adam Smith Avatar answered Sep 21 '22 20:09

Adam Smith