Sunday, February 17, 2013

[Python 3] Steps showing how to install pip on windows

Introduction:

To install pip, firstly you need download a script named "get get-pip.py" and run it , and the script would auto download the packages for installation, and install it automatically.

Step 1 )
Visit this link and download the script "get-pip.py"
https://raw.github.com/pypa/pip/master/contrib/get-pip.py

Step2)
Open a folder named "Scripts" in your python root folder:



Step 3)
Place the get-pip.py into the folder.

Step4 )
Open your command prompt tool and go to the folder you opened : 
(about how to open the command prompt, I have provided some link for an reference  at the end of this article:)
If your get-pipi.py is placed in the path "C://Python33/Scripts"
you need to type cd "C://Python33/Scripts" in command prompt to enter the directory.

Step 5) type get-pip.py to run the script to download packages from internet.

Step6 )
Finish
---------------------
Remark:
the commands used i command prompt:

  • cd "C://your_python_root/Scripts"
  • get-pip.py

(<----change text in red to your python root)


Reference is form this site:
http://pip.readthedocs.org/en/latest/installing.html

Reference about how to open a command prompt:

No comments :

Post a Comment