pycharm报错:bs4.FeatureNotFound: Couldn‘t find a tree builder with the features you requested: html_pa
使用bs4解析网站时报错
bs4.FeatureNotFound: Couldn’t find a tree builder with the features you requested: lxml. Do you need to install a parser library?
解决办法
安装html解析器
通过win+r 打开cmd命令行;
直接在命令行中使用pip install lxml 命令;
安装完成后,运行还是报错,打开pycharm中的设置;
在python解释器中
原创
2021-04-19 22:19:46 ·
980 阅读 ·
1 评论