1. Now the latest Python (2.7.x) version with PIP, installed under the C:\Python27\Scripts, add this path to the system path inside can use Pip, but this seems to be 6.1.x version, the latest version of PIP is 7.1.0 version of 。 If you want to update it with the latest, the command line:
Pip Install--upgrade pip
2. Ran a bit, this command old error ... There is a large string of red error, so simply go to the site up and down a new. After unpacking, switch to the file directory and install it with the Python setup.py installation.
3. PIP command can use proxy, domestic agent available http://pypi.v2ex.com/simple, and
http://pypi.douban.com/Watercress
http://pypi.hustunique.com/Huazhong University of Technology
http://pypi.sdutlinux.org/Shandong University of Technology
http://pypi.mirrors.ustc.edu.cn/China University of Science and Technology
"These should need to be in addition to simple/", no one by one verification.
For example, to install scapy, the command line is as follows:
Pip Install Scapy-i http://pypi.v2ex.com/simple
Domestic agent, the speed is generally relatively fast.
or write the configuration file directly.
Under Windows is in the%home%/pip/pip.ini directory
Let's say your username is AAA
%home% is "c:\users\aaa."
The configuration file is as follows
[Global]
Timeout = 60
Trusted-host = pypi.v2ex.com
Index-url = http://pypi.v2ex.com/simple/
Note must add trusted-host this, otherwise will appear error, and then still download from the original station, slow to die
Other references:
http://m.blog.csdn.net/blog/junheart/44041927
Https://pip.pypa.io/en/latest/user_guide.html#configuration
http://blog.csdn.net/txdb/article/details/17766315
Install PIP for Python under Windows