我尝试将suppy4与我的python3.5配合使用,但是每当我统治一个代码以从Internet提取某些东西时,我都会收到此错误:
- s4\__init__.py", line 198, in __init__
% ",".join(features)) bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html5lib. Do you need to install a parser library?
Run Code Online (Sandbox Code Playgroud)
该站点bs4.FeatureNotFound中存在一个具有相同错误的链接:找不到具有您请求的功能的树生成器:lxml。您需要安装解析器库吗? 我尝试了所有,仍然得到错误
所有的pip安装请求pip install lxml pip install beautifull soup4
我下载了汤4 https://www.crummy.com/software/BeautifulSoup/bs4/download/4.6/手动安装setup.py install
我已经更新并可以正常工作了,但是仍然出现错误,请帮助我