On Sun, 2024-09-01 at 14:35 -0700, Samuel Sieb wrote: > On 9/1/24 2:11 PM, Patrick O'Callaghan wrote: > > On installing the latest version of Calibre (7.17.3) I get this error: > > > > 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, 12, 8) != lxml: (2, 10, 3) > > > > I hesitate to run 'pip install ...' as suggested, and I already have > > lxml: > > > > $ rpm -qi python3-lxml > > Name : python3-lxml > > Version : 5.1.0 > > Release : 7.fc40 > > Architecture: x86_64 > > etc. > > > > Do I need to contact the Calibre package maintainer? I normally install > > Calibre directly from the website, but that also has an (unrelated) > > problem. > > Why would you contact the package maintainer if you're using a version > of Calibre that's not from Fedora? The latest version in Fedora is > calibre-7.17.0-3 and it runs fine. I would only contact the package maintainer about the error with the Fedora version, which you have now said doesn't happen on your system. [I merely mentioned the other version as it's the one I would normally use (simply because in the past it has often been more up to date than the repo version), but can't in this case. That version is now completely uninstalled.] > I don't know why you're getting that error since the packaged version of > python3-lxml uses the installed version of libxml2 which is > libxml2-2.12.8-1.fc40 if you're up to date. So your wrong version is > coming from somewhere else. Maybe you've pip installed something. I do have that version of libxml2: $ rpm -q libxml2-2.12.8-1.fc40 libxml2-2.12.8-1.fc40.x86_64 libxml2-2.12.8-1.fc40.i686 However I also have mingw64-libxml2-2.12.7-1.fc40.noarch, which was installed together with Wine. I assume that's the root of the problem, but I can't solve it without uninstalling Wine. poc -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue