简体   繁体   中英

Having trouble running Beautifulsoup library

I was able to install the library, however, when I try to run it, it shows me the following error.

Don't know what to do, I am going crazy about it. Someone please help me!!

problem when running
installing

try this instead of adding 4 to the end.

from bs4 import BeautifulSoup

You're importing from Beautifulsoup4 what is the wrong package. Instead, from bs4 import BeautifulSoup

For more details, check the PyPi page of the package: https://pypi.org/project/beautifulsoup4/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM