Windows 10 Installation Pip method

Source: Internet
Author: User

Pip is a handy Python package management tool that focuses on installing the Pip method under Windows 10 .

1. Download pip

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

Note Select the tar.gz compressed package, currently the latest version is 9.0.1, the version chosen here is:pip-9.0.1.tar.gz (MD5, PGP)

2. Unzipinstallation

Unzip the downloaded compressed package to the working directory (e.g. D:\), open windows CMD, and run the following command to enter the extracted PIP directory

CD/D D:\pip-9.0.1

install using the following command

Python setup.py Install

3. Add Environment variables

Add a Windows system environment variable as you would add it when you install Python

As my Python directory is:f:\python27\;

Add the following 2 directories to the system environment variable:f:\python27\; F:\Python27\Scripts;

4. Pip Common Commands

After the installation succeeds, after re-entering CMD, run Pip and you can see the Help document:

The following commands are commonly used by PIP:

1234567891011 #安装包pip install xxx#升级包,可以使用-U 或者 --upgradepip install -U xxx #卸载包pip uninstall xxx#列出已安装的包pip list
5. Frequently Asked Questions

Recently encountered using the PIP command times wrong attributeerror: ' Module ' object has no attribute ' wraps ', found to be a PIP installation version error caused, using the above method to reinstall the latest version of PIP can be resolved.

Windows 10 Installation Pip method

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.