Hi,
I recently upgraded to python 3.13 and pyDub is no longer working.
I was using the following code to slow down a song,
from pydub import AudioSegment
song = AudioSegment.from_file(file1, format="mp3")
song.frame_rate = song.frame_rate / (song.frame_rate / int(slowmo_Amount))
but since upgrading, it throws this error.
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\pydub\utils.py", line 14, in <module>
import audioop
ModuleNotFoundError: No module named 'audioop'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\GOOD\Coding\.Coding_Projects\Composite_media\Audio Loop\audio_loop v1.py", line 165, in <module>
print("Adding Slowmo"); slowmo(name1_, withSlowmo, Slo_mo)
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GOOD\Coding\.Coding_Projects\Composite_media\Audio Loop\audio_loop v1.py", line 37, in slowmo
from pydub import AudioSegment
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\pydub\__init__.py", line 1, in <module>
from .audio_segment import AudioSegment
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\pydub\audio_segment.py", line 11, in <module>
from .utils import mediainfo_json, fsdecode
File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\site-packages\pydub\utils.py", line 16, in <module>
import pyaudioop as audioop
ModuleNotFoundError: No module named 'pyaudioop'
Hi,
I recently upgraded to python 3.13 and pyDub is no longer working.
I was using the following code to slow down a song,
but since upgrading, it throws this error.