updated install instruction to include lxml to avoid using non matching system version

This commit is contained in:
wave1martian
2026-03-09 09:01:47 +01:00
parent f72f6ff3b9
commit 7afb71db36
+6 -1
View File
@@ -123,7 +123,12 @@ managers), i.e:
$ . venv/bin/activate
(venv) $ git clone https://github.com/gryf/ebook-converter
(venv) $ cd ebook-converter
(venv) $ pip install .
(venv) $ pip install --no-binary lxml .
Note: the ``--no-binary lxml`` flag is required to ensure ``lxml`` is compiled
against the same system ``libxml2`` as ``html5-parser``. Without it, pip may
install a pre-built ``lxml`` wheel bundling a different ``libxml2`` version,
which causes a ``RuntimeError``.
Simple as that. And from now on, you can issue converter: