我的情况如下:
我在pip install lxml的时候,系统告诉我已经装好了,但是在.py文件调试跟cmd 的python调试的时候,lxml又不能使用,
会报错bs4.FeatureNotFound: Couldn’t find a tree builder with the features you requested: lxml. Do you need to install a parser library?

所以我卸载了lxml,然后再装上

pip uninstall lxml
后再
pip install lxml
Couldn't find a tree builder with the features you requested: lxml.解决方案
之后就好了,可以运行了
运行的时候import lxml是否存在无所谓,都能运行。

相关文章:

  • 2022-01-02
  • 2021-11-14
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2021-10-05
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2021-12-18
  • 2021-07-07
  • 2022-01-21
  • 2022-01-16
相关资源
相似解决方案