Python Study Notes series (II): Install a third-party software library (Windows)

Source: Internet
Author: User

1. General Mode

Python setup. py install

P.s. The installation package is in c: \ python27 \ Lib \ Site-packages \

When using this package, you only need to import it directly.

2. easy_install

First download setuptools installation, https://pypi.python.org/pypi/setuptools#files

Or http://www.lfd.uci.edu /~ Gohlke/pythonlibs/# setuptools

Install setuptools in 1 mode, that is, Python setup. py install

At this time, easy_install.exe exists in c: \ python27 \ scripts

How to Use easy_install? Easy_install -- Help

3. Pip Mode

Download the PIP installation package: http://www.lfd.uci.edu /~ Gohlke/pythonlibs/# Pip

After that, everyone will be confused about the installation method.

After completion, pip.exe exists in c: \ python27 \ scripts

How to Use Pip? Pip -- Help

P.s. You can add c: \ python27 and c: \ python27 \ scripts to the environment variable path.


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.