Beautifulsoup,html5lib:模块对象没有属性 _base [英] beautifulsoup, html5lib: module object has no attribute _base
本文介绍了Beautifulsoup,html5lib:模块对象没有属性 _base的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我更新我的软件包时,我遇到了这个新错误:
When I updated my packages I have this new error:
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'
我尝试更新 beautifulsoup
,但没有更多结果.我该如何解决?
I tried to update beautifulsoup
, with no more result. How can I fix that?
推荐答案
edit 2017 年 11 月:这似乎不再起作用
edit nov, 2017: it seems this doesn't work any more
终于发现,一个搜索引擎没有抛出任何东西,但它被beautifulsoup的问题跟踪器引用了:https://bugs.launchpad.net/beautifulsoup/+bug/1603299
Finally found out, a search engine didn't throw anything but it's referenced on beautifulsoup's issue tracker: https://bugs.launchpad.net/beautifulsoup/+bug/1603299
它适用于 html5lib v0.9999999
(7 个 9)
it works back with html5lib v0.9999999
(7 nines)
"html5lib<=0.9999999"
这篇关于Beautifulsoup,html5lib:模块对象没有属性 _base的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文