

这是全部报错

库都在pycharm安装了,一直都是在报错,请问这是什么问题呢?怎么解决呢?
最后的错误是什么?拉倒最下面看具体错误,如果是下面的
AttributeError: module 'collections' has no attribute 'Callable'
Process finished with exit code 1
参考:
https://www.5axxw.com/questions/content/onxs1w
在用python3.10吗?看起来beautifulsoup库正在使用已删除的不推荐使用的别名来收集抽象基类。更多信息请点击此处:https://docs.python.org/3/whatsnew/3.10。html#已删除
快速修复方法是将以下两行粘贴到导入的正下方:
import collections
collections.Callable = collections.abc.Callable