Original address: http://blog.chinaunix.net/uid-12014716-id-3859827.html
1. Download the latest PIP installation file at the following address: Http://pypi.python.org/pypi/pip#downloads
2. Unzip the installation
3. Download Easy installer for Windows, then install: http://pypi.python.org/pypi/setuptools
4. Installing the Setuptools tool
5. Command-line tool CD switch to the PIP directory, locate the setup.py file, and then enter the Python setup.py install, run it (the reason is to run this step, because the previously installed Setuptools tool, In the future, you can install the Python library, just find the path to the setup.py file, run the above command, it can be installed easily.
6. Add the Python installation path to the environment variable path, for example G:\python2.6\Scripts
7. Complete!
Another: After installing the PIP and Easy_installer tools, it is convenient to install the other Python libraries later
For example:
Easy_install Redis
Or
Pip install Redis (recommended)
Install Easy_install, Pip:
http://heipark.iteye.com/blog/1916758
Go: How Python installs the PIP and Easy_installer tools