BeautifulSoup无法使用选项html5lib解析html页面,但通常使用选项html.parser。根据,html5lib应该比html.parser更宽容,那么为什么我在使用它来解析html页面时遇到了混乱的代码呢?html = res.content.decode("GBK").encode("utf-8")
s
tensorboard 1.7.0 has requirement html5lib==0.9999999, but you'll have html5lib 0.999 which is incompatible(Ubuntu 16.4)tensorboard==1.8.0 numpy==1.14.3
html5lib
python3/lib/python3.8/site-packages/bs4/builder/__init__.py", line 314, in <module>AttributeError: module 'html5lib.treebuilders' has no attribute '_base' (我升级了html5lib