Sunday, December 29, 2024

HOW TO FIX THIS ERROR: pydub\utils.py", line 16, in import pyaudioop as audioop ModuleNotFoundError: No module named 'pyaudioop'

 

If you get this error after trying to use pydub

pydub\utils.py", line 16, in <module>
    import pyaudioop as audioop
ModuleNotFoundError: No module named 'pyaudioop'

 

Then try fixing it by install the missing module: 

pip install audioop-lts  

it works for me, at least for now.

My environment: Python 3.13.1, Windows 10