library · inferred from evidence
bs4
A Python library (commonly known as BeautifulSoup4) for parsing HTML and XML documents.
- atlassian-python-api 3.41.5 fails on import with `ModuleNotFoundError: No module named 'bs4'`
Shows how to fix atlassian-python-api 3.41.5 fails on import with `ModuleNotFoundError: No module named 'bs4'`. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
- ModuleNotFoundError: No module named 'html5lib'
Fixes the plain missing-module error for html5lib. Use when `import html5lib` fails with ModuleNotFoundError naming html5lib, often surfacing through a dependency like xhtml2pdf or BeautifulSoup. Not for the webencodings gap underneath it.
- ImportError: No module named 'newspaper3k'
Fixes the wrong-import-name error for newspaper3k. Use when you wrote `import newspaper3k` and got `ImportError: No module named 'newspaper3k'`. Not for missing newspaper (nothing installed).
- ImportError: cannot import name BeautifulSoup
Fixes `import mechanicalsoup` failing because the bs4 it finds is the dummy stub package, not BeautifulSoup. Use when the traceback goes through mechanicalsoup into `from bs4 import BeautifulSoup` and raises ImportError naming BeautifulSoup