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

来源:互联网 发布:java class用法 编辑:程序博客网 时间:2024/05/22 17:10

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


原因:

虽然在程序中引入bs4类库,但是需要在ba4中安装lxml包

具体操作:

注释:本人使用python2.7版本

在PyCharm中 点击:file-->setting进入如图所示:




双击lxml进入如图:


需等待一段时间!

至此,问题得到解决!!!

阅读全文
0 0
原创粉丝点击