Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'pyaudioop' #815

Open
ghost opened this issue Oct 15, 2024 · 3 comments · May be fixed by #816
Open

ModuleNotFoundError: No module named 'pyaudioop' #815

ghost opened this issue Oct 15, 2024 · 3 comments · May be fixed by #816

Comments

@ghost
Copy link

ghost commented Oct 15, 2024

Steps to reproduce

Expected behavior

hope worked normally

Actual behavior

Traceback (most recent call last):
File "G:\python\Lib\site-packages\pydub\utils.py", line 14, in
import audioop
ModuleNotFoundError: No module named 'audioop'

Traceback (most recent call last):
File "f:\python_play\FuXLogger\processor\processAudio.py", line 1, in
from pydub import AudioSegment
File "G:\python\Lib\site-packages\pydub_init_.py", line 1, in
from .audio_segment import AudioSegment
File "G:\python\Lib\site-packages\pydub\audio_segment.py", line 11, in
from .utils import mediainfo_json, fsdecode
File "G:\python\Lib\site-packages\pydub\utils.py", line 16, in
import pyaudioop as audioop
ModuleNotFoundError: No module named 'pyaudioop'

Your System configuration

  • Python version: 3.13
  • Pydub version: 0.25.1
  • ffmpeg or avlib?:
  • ffmpeg/avlib version:

Is there an audio file you can include to help us reproduce?

You can include the audio file in this issue - just put it in a zip file and drag/drop the zip file into the github issue.

processor.zip

@ghost
Copy link
Author

ghost commented Oct 15, 2024

is ffmpeg, and version is ffmpeg version n4.4.3-2-ga54187b7d9 Copyright (c) 2000-2022 the FFmpeg developers

@taconi taconi linked a pull request Oct 15, 2024 that will close this issue
@taconi
Copy link

taconi commented Oct 15, 2024

Try installing audioop-lts and it should work.

pip install audioop-lts

@krishnachittur
Copy link

@taconi

Try installing audioop-lts and it should work.

pip install audioop-lts

I tried this and can confirm it worked. Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants