Public bug reported:

I installed Anki today using the Software Center but I'm unable to start
it.

When starting Anki via the terminal, I receive the following error:

Traceback (most recent call last):
  File "/usr/bin/anki", line 6, in <module>
    import aqt
  File "/usr/share/anki/aqt/__init__.py", line 56, in <module>
    from aqt import addcards, browser, editcurrent, stats, about, \
  File "/usr/share/anki/aqt/addcards.py", line 13, in <module>
    import aqt.editor, aqt.modelchooser, aqt.deckchooser
  File "/usr/share/anki/aqt/editor.py", line 26, in <module>
    from bs4 import BeautifulSoup
  File "/home/user/.local/lib/python3.6/site-packages/bs4/__init__.py", line 
30, in <module>
    from .builder import builder_registry, ParserRejectedMarkup
  File "/home/user/.local/lib/python3.6/site-packages/bs4/builder/__init__.py", 
line 314, in <module>
    from . import _html5lib
  File 
"/home/user/.local/lib/python3.6/site-packages/bs4/builder/_html5lib.py", line 
70, in <module>
    class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: module 'html5lib.treebuilders' has no attribute '_base'

** Affects: anki (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1793083

Title:
  Anki does not start on Ubuntu 18.04 - html5lib.treebuilders error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anki/+bug/1793083/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to