lxml库安装好了,import lxml库也没有错误了,为什么BeautifulSoap4(html,features='lxml')仍然不能使用?
报错原因:bs4. FeatureNotFound:Couldn't find a tree builder with the features you requested:lxml. Do you need to install a parser library?
各位大佬,救救小弟吧,万分感谢啊!!!
...全文
122回复打赏收藏
lxml库安装
lxml库安装好了,import lxml库也没有错误了,为什么BeautifulSoap4(html,features='lxml')仍然不能使用? 报错原因:bs4. FeatureNotFound:Couldn't find a tree builder with the features you requested:lxml. Do you need to install a parser library? 各位大佬,救救小弟吧,万分感谢啊!!!