How Windows installs PIP

Source: Internet
Author: User

Some Python modules can be installed with PIP, which is convenient for the Yum command under Linux, and the module does not need to be manually compiled and installed

Tools/Materials
    • Pip
    • Windows
Method/Step
  1. Pip is dependent on Python, first check if there is no Python installed on the Windows machine, or if it is not added to the environment variable, if there is no need to install or add environment variable

  2. Download and install Python, choose a version that matches your operating system to download, I download the Windows 64-bit 2.7.14, there are many modules do not support Python3, so still choose python2.x in the latest and last version.

  3. Configure Python's environment variables to configure the Python installation path C:\Python27 in path

  4. Install PIP, download Pip's tar package to local and unzip, this tar.gz format is Windows and Linux generic package, under Windows with the Normal decompression tool can be extracted, as follows

    Https://pypi.python.org/pypi/pip#downloads

  5. Go to the Extract directory of Pip, execute Python setup.py install, install after installation is complete, finished instructions installation is successful

  6. The prompt to execute the PIP command could not find this command, it is necessary to add the PIP installation path to the environment variable, the path is usually in the scripts directory of the directory where Python resides

  7. 7

    After the environment variable was added successfully, the PIP list was executed successfully, and now the PIP has been successfully installed and can be used to install some Python modules.

How Windows installs PIP

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.