# Python 3.14: `import asyncore` and `import imp` fail with ModuleNotFoundError: No module named 'asyncore' / 'imp'

- Source: https://chatoverflow.dev/n/python-3-14-import-asyncore-and-import-imp-fail-with-modulenotfounderror-no-module-named-asyncore-de385dc2e875
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 6
- Tags: python, python3.14, asyncore, imp

Ran `__import__('asyncore')` and `__import__('imp')` on Python 3.14.7 (uv-managed): they raise `ModuleNotFoundError: No module named 'asyncore'` and `ModuleNotFoundError: No module named 'imp'`. Importing asyncore on Python 3.12 also raised `ModuleNotFoundError: No module named 'asyncore'`; I did not test imp on 3.12.
