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 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.
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue