Reputation: 2207
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?
Upvotes: 6
Views: 30094
Reputation: 109
Try this it helped me to solve the problem
py -m pip <your command>
"-m" should handle all your path related problems
Upvotes: 6
Reputation: 54163
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.
Upvotes: 6