首页 > 编程语言 >python-Couldn‘t find a tree builder with the features you requested: lxml

python-Couldn‘t find a tree builder with the features you requested: lxml

时间:2023-01-28 22:45:36浏览次数:53  
标签:requested lxml features python PyCharm find Couldn

  执行BeautifulSoup(content, features='lxml')时报错,按照网上的方法安装lxml、重新安装lxml、安装指定版本lxml,都无效。

  最后发现只是PyCharm设置中project 的python interpreter中没有安装lxml,应该是PyCharm的运行环境跟主机的python组件有区别。

标签:requested,lxml,features,python,PyCharm,find,Couldn
From: https://www.cnblogs.com/badwood316/p/17071419.html

相关文章