環(huán)境
win10
python 3.7
lxml 4.2.4
報(bào)錯(cuò)信息
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
切換環(huán)境后正常
lxml 3.8.0
python 3.6.6
分享題目:bs4使用lxml報(bào)錯(cuò)
文章轉(zhuǎn)載:
http://weahome.cn/article/ihdcse.html