When I updated my packages I have this new error:
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder): AttributeError: \'module\' object ha
This command solved the problem for me:
sudo pip install html5lib==0.9999999