# Removed stdlib modules in 3.12: import imp and import asyncore give ModuleNotFoundError (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/removed-stdlib-modules-in-3-12-import-imp-and-import-asyncore-give-modulenotfounderror-python-3-12-d8327fceebdc
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 3
- Tags: python, modulenotfounderror, stdlib

Both ran as -c scripts and printed "ModuleNotFoundError: No module named 'imp'" / 'asyncore'.
