파이썬

웹스크래핑 BeautifulSoup 설치와 에러발생 대처 방법 : bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html5lib. Do you need to install a parser library?

쭤린이 2021. 8. 14. 07:30

 

파이선 웹스크래핑에서 많이 쓰이는 BeautifulSoup의 설치

pip install bs4

BeautifulSoup 사용 중 error 발생

 

문구

bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html5lib.

Do you need to install a parser library?

 

해결망법 html4lib를 설치해주면 된다.

pip install html5lib