Python Download install BeautifulSoup library

Source: Internet
Author: User

Python download install beautifulsoup library 1, download https://www.crummy.com/software/BeautifulSoup/bs4/download/4.5/

2. Unzip to the Python directory:

3, "Win+r" into the cmd; Enter the following code, in turn:
C:\USERS\ADMINISTRATOR>CD D:\softwareIT\Python27\beautifulsoup4-4.5.0C:\Users\Administrator>  d:d:\softwareit\python27\beautifulsoup4-4.5.0>python setup.py build D:\softwareIT\Python27\ beautifulsoup4-4.5.0>python setup.py Install
4. Complete installation 5, enter Python

Import the package to see if the installation was successful.

The latest version of the import package statement is not the same, here is to pay attention to the '

Import BS4   Import BeautifulSoup  

That's all you can do ...

You can't use it.
From BeautifulSoup import BeautifulSoup
Such a statement.

PS: Another simple way to install

Python Download install BeautifulSoup library

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.