Python Beautifulsoup报错 ‘ cannot import name 'HTMLParseError’

Beautifulsoup

因为Beautifulsoup4.6发现很多功能不能用

然后就更新回Beautifulsoup4.3.2

结果python报错 :‘ cannot import name 'HTMLParseError

查了资料找到了解决方案,因为Beautifulsoup4.4以下版本不支持python3

更新即可

Beautifulsoup下载点击这

或者使用pip ,ide工具安装都行

猜你喜欢

转载自blog.csdn.net/qq_42184699/article/details/80861249