Install Python package management tool pip and Application Instances
0. Before installation
Environment: Windows8.1 + Python2.7. environment variables have been set.
1. Install pip
When I first started learning Python, I had a headache in the management of various packages. Later I found some Python package management tools, such as setuptools, easy_install, pip, and distribute. I learned their general relationships as follows:
All in all, pip is a tool for installing and managing Python packages and is replaced by easy_install.
First go to the pip official homepage, jump to the Installation Introduction page, download the get-pip.py, and then execute in cmd:
Python get-pip.py
After the script is downloaded and decompressed, and a series of operations are performed, pip can be installed. Later, find pip.exe and add its Path to the environment variable Path. In Windows, we recommend that you use everything for retrieval to quickly determine the path. The local path is C: \ Python27 \ Scripts.
Run cmd again to check pip installation. Enter the following information:
Pip-h
If the following output is displayed, the installation is complete.
2. pip application instance
To be continued.