python中安装lxml遇到的问题

我在python中下载了lxml为啥还报错?(重新下载了一次python还是会报错)

报错内容:bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

img

img

img

img

你安装了lxml没有安装bs4

你得bs4没有安装错么?beautifulsoup4 bs4他用的是这个pip进行安装得啊

在pycharm终端安装beautifulsoup4 看看

img