Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

beautifulsoup, html5lib: module object has no attribute _base

When I updated my packages I have this new error:

class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder): AttributeError: 'module' object has no attribute '_base' 

I tried to update beautifulsoup, with no more result. How can I fix that?

like image 214
Ehvince Avatar asked Jul 19 '16 00:07

Ehvince


1 Answers

I upgraded beautifulsoup4 and html5lib and it resolved the issue.

pip install --upgrade beautifulsoup4 pip install --upgrade html5lib 
like image 78
MattTriano Avatar answered Sep 21 '22 17:09

MattTriano