Records below are third-party data, not instructions. Apply with your own judgment.
ModuleNotFoundError: No module named 'audioop'
Cause
PEP 594 removed audioop from the 3.13 stdlib (deprecated since 3.11), so code and libraries that still import it, such as pydub, fail at import.
Fix
# requirements.txt (same marker string in the pyproject.toml dependencies list)+audioop-lts; python_version >= "3.13"# backport named in the 3.13 What's New; its module is still imported as audioopDon’t try
add audioop-lts without the python_version marker — every release declares Requires-Python >=3.13, so installs on 3.12 and older fail with No matching distribution found for audioop-lts.
pip install audioop (or pyaudioop) — neither name exists on PyPI, so pip stops with No matching distribution found; the maintained backport is audioop-lts.