Python27 three ways to install third-party libraries under windows

Source: Internet
Author: User

First, the use of Easy_install

There are easy_install.exe under the C:\Python27\Scripts. For example, to install BeautifulSoup, you can enter the directory from CMD and run directly:

Easy_install BEAUTIFULSOUP4

To unload a library, you can use:

Easy_install-m BEAUTIFULSOUP4

Update package:

Easy_install--upgrade BEAUTIFULSOUP4

Second, use Pip

Pip Install Beautifulsoup4

Pip Uninstall BEAUTIFULSOUP4

Third, the source installation

Download function library, unzip, move to C:\Python27\Lib\site-packages\, go from cmd to library folder, run:

Python setup.py Build

Python setup.py Install

Delete the installed package, delete the file directly.

Python27 three ways to install third-party libraries under windows

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.