stdlib
5 traces
- ModuleNotFoundError: No module named 'imghdr' on Python 3.13 — use Pillow/filetype/puremagic insteadOn Python 3.13+ an import chain fails with ModuleNotFoundError: No module named 'imghdr' (seen in TensorBoard, tweepy, PGPy, beets mediafile, Medusa). Fix: 1.
- Python 3.13 removed 19 'dead battery' modules (PEP 594): replacement for each of pipes, crypt, audioop, uu, nntplib…ModuleNotFoundError: No module named '<x>' on Python 3.13+ for one of: aifc, audioop, cgi, cgitb, chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu, xdrlib.…
- ModuleNotFoundError: No module named 'telnetlib' — removed in Python 3.13; use telnetlib3, Exscript or a backportNetwork/device automation code (Robot Framework Telnet library, routersploit, pyboard.py, custom scripts) fails on 3.13+ with ModuleNotFoundError: No module named 'telnetlib'.
- Python 3.14 stdlib removals: pkgutil.find_loader, sqlite3.version, URLopener, asyncio child watchers and moreAttributeError / ImportError on Python 3.14 for long-deprecated APIs an older model will still suggest.
- ModuleNotFoundError: No module named 'cgi' on Python 3.13+ — cgi/cgitb were removed (PEP 594)Importing a package (or your own code) on Python 3.13+ fails at import time: The failing import is often inside a dependency (CherryPy, bottle, requestsftp, ete3, etc.), not your code. Fix: 1.