Python3 installation BeautifulSoup

Source: Internet
Author: User

Material: Python3 or above

BeautifulSoup4 or more

1, in the DOS window input:

Python f:\python36\beautifulsoup4-4.5.1\setup.py Install


650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/8C/EC/wKioL1h-OLLh-HkGAAA-1Rd3yqU568.png-wh_500x0-wm_ 3-wmp_4-s_1738334373.png "title=" Qq20170117233012.png "alt=" Wkiol1h-ollh-hkgaaa-1rd3yqu568.png-wh_50 "/>

Description BeautifulSoup temporary installation succeeded.

Run 650) this.width=650; "Src=" Https://s4.51cto.com/wyfs02/M00/8C/EC/wKioL1h-OUzD1Ei2AAAj7RXNpsA895.png-wh_ 500x0-wm_3-wmp_4-s_776295257.png "title=" Qq20170117233256.png "alt=" wkiol1h-ouzd1ei2aaaj7rxnpsa895.png-wh_50 "/ >

Tip BS Support Python2 does not support Python3, you need to use the command 2to3-w BS4 to convert BS4 to Python3 supported

2: Key steps:

Cut the BS4 folder under beautifulsoup4-4.5.1 to the Lib directory under Python execution: 2to3-w BS4

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/8C/EC/wKioL1h-O13hzCApAABQKxb99TI090.png-wh_500x0-wm_ 3-wmp_4-s_2339414113.png "title=" Qq20170117234212.png "alt=" Wkiol1h-o13hzcapaabqkxb99ti090.png-wh_50 "/>

Execution succeeds, if unsuccessful, reopen a DOS window and go to the directory just before re-executing.

3, verify:

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/8C/EC/wKioL1h-O9fzbhmGAAANb074C0I172.png-wh_500x0-wm_ 3-wmp_4-s_1834369719.png "title=" Qq20170117234419.png "alt=" Wkiol1h-o9fzbhmgaaanb074c0i172.png-wh_50 "/>

No exception was reported and the description was successful.



This article is from the "Vulcan and Fire" blog, make sure to keep this source http://notezr.blog.51cto.com/9424982/1892745

Python3 installation BeautifulSoup

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.