Calibre crashes on initial setup ("python error different versions of libxml2")

Hi, I’ve just installed calibre on my fully updated manjaro-system and can’t get over the initial setup. Upon start calibre asks me to select the library-folder but immediately crashes when I click the “change folder”-button. When running from the console I get the following error message

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/wizard/", line 784, in change
    x = choose_dir(self, 'database location dialog',
  File "/usr/lib/calibre/calibre/gui2/", line 186, in choose_dir
    fd = FileDialog(title=title, filters=[], add_all_files_filter=False,
  File "/usr/lib/calibre/calibre/gui2/", line 49, in __init__
    from calibre.gui2.ui import get_gui
  File "/usr/lib/calibre/calibre/gui2/", line 44, in <module>
    from calibre.gui2.init import LayoutMixin, LibraryViewMixin
  File "/usr/lib/calibre/calibre/gui2/", line 23, in <module>
    from calibre.gui2.library.views import BooksView, DeviceBooksView
  File "/usr/lib/calibre/calibre/gui2/library/", line 20, in <module>
    from calibre.gui2.library.delegates import (RatingDelegate, PubDateDelegate,
  File "/usr/lib/calibre/calibre/gui2/library/", line 25, in <module>
    from calibre.gui2.dialogs.comments_dialog import CommentsDialog, PlainTextDialog
  File "/usr/lib/calibre/calibre/gui2/dialogs/", line 14, in <module>
    from calibre.gui2.comments_editor import Editor
  File "/usr/lib/calibre/calibre/gui2/", line 10, in <module>
    from html5_parser import parse
  File "/usr/lib/python3.10/site-packages/html5_parser/", line 31, in <module>
    raise RuntimeError(
RuntimeError: html5-parser and lxml are using different versions of libxml2. This happens commonly when using pip installed versions of lxml. Use pip install --no-binary lxml lxml instead. libxml2 versions: html5-parser: (2, 10, 3) != lxml: (2, 9, 12)
zsh: IOT instruction (core dumped)  calibre

The suggestet pip-comand does nothing and exits with “Requirement already satisfied: lxml in ./.local/lib/python3.10/site-packages (4.8.0)” - any idea what went wrong here and how to fix it?

Thanks in advance


See: [root tip] [How To] Avoid common pitfalls as developer

Hm, I don’t think I’ve ever installed a package via pip… Also that doesn’t really help me fixing the problem. How should I proceed? Reinstalling the system wide package didn’t change anything.