Install Python package management tool pip and Application Instances

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.