A PIP was installed on a new computer today. The process has been a little forgotten, and is recorded here again.
This tutorial is based on python3.4 and requires a connection to the Internet, which takes a total of two steps.
1, to install PIP, first to install Setuptools, Link: https://pypi.python.org/pypi/setuptools#windows-powershell-3-or-later
Select Windows (Simplified)
Right click ez_setup.py Save As, the ez_setup.py download good. Then open cmd, change the current working path to the ez_setup.py path, enter the Python ez_setup.py, you can install it automatically.
TIP: If Python is not found after you enter Python ez_setup.py, you should add the path of the Python.exe to the system environment variable path.
2. Download pip, Link: https://pypi.python.org/pypi/pip#downloads
Choose pip-7.1.2.tar.gz (MD5, PGP)
Download good after unpacking, open cmd, change the current working path to the pip-7.1.2 folder just after decompression, enter the Python setup.py install, can be installed.
In the final step, add the scripts path under the Python root directory to the system environment variable path. Because Setuptools is installed, all third-party libraries that are installed are under that path. The PIP we just installed is also under change path.
So if you want to install a new third-party library, directly in the cmd Input command: Pip install the third-party library name.
Eg:pip Install Chardet
Python related--How to install PIP