beautifulsoup, html5lib: module object has no attribute _base

前端 未结 8 2149
逝去的感伤
逝去的感伤 2020-12-04 18:57

When I updated my packages I have this new error:

class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: \'module\' object ha         


        
8条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 19:32

    edit nov, 2017: it seems this doesn't work any more

    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

    it works back with html5lib v0.9999999 (7 nines)

    "html5lib<=0.9999999"
    

提交回复
热议问题