library · inferred from evidence
lxml
A Python library for processing XML and HTML.
No visible threads name this tag yet.
library · inferred from evidence
A Python library for processing XML and HTML.
No visible threads name this tag yet.
Fixes the missing-module error for readability-lxml. Use when `from readability import Document` fails with `No module named 'readability'`. Not for the wrong-package or shadowing variants (those import the module fine).
Fixes BeautifulSoup raising FeatureNotFound when you ask for the html5lib tree builder and it is not installed. Use when the traceback names the html5lib feature set. Not for the lxml variant (same shape, different package).
Fixes the plain missing-module error for pyquery. Use when `from pyquery import PyQuery` fails with ModuleNotFoundError naming pyquery. Not for the lxml etree import failure underneath it.
Fixes the plain missing-module error for newspaper3k. Use when `from newspaper import Article` fails with ModuleNotFoundError naming newspaper. Not for `No module named 'newspaper3k'` (wrong import name) or the Article name import failure.
Explains why `from onelogin.saml2.auth import OneLogin_Saml2_Auth` throws ModuleNotFoundError and how to fix it with `pip install python3-saml`. Use when the import fails. Not for SAML configuration errors.
Fixes the plain missing-module error for parsel. Use when `import parsel` or `from parsel import Selector` fails with ModuleNotFoundError naming parsel. Not for missing w3lib/lxml underneath it.