beautifulsoup,html5lib:模块对象没有属性_base [英] beautifulsoup, html5lib: module object has no attribute _base

查看:113
本文介绍了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?

推荐答案

编辑,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 v 0.9999999(7个9)一起使用

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

"html5lib<=0.9999999"

这篇关于beautifulsoup,html5lib:模块对象没有属性_base的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆