#1052 ModuleNotFoundError: No module named 'pyaudioop'

2001:b07* Posted at: 9 hours ago 👁8

Traceback (most recent call last):
File "/home/genfi/.local/lib/python3.13/site-packages/pydub/utils.py", line 14, in

import audioop

ModuleNotFoundError: No module named 'audioop'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/genfi/pyvideotrans-main/videotrans/mainwin/_actions.py", line 964, in update_data

self.create_btns()
~~~~~~~~~~~~~~~~^^

File "/home/genfi/pyvideotrans-main/videotrans/mainwin/_actions.py", line 809, in create_btns

from videotrans.task._only_one import Worker

File "/home/genfi/pyvideotrans-main/videotrans/task/_only_one.py", line 12, in

from videotrans.task.trans_create import TransCreate

File "/home/genfi/pyvideotrans-main/videotrans/task/trans_create.py", line 20, in

from ._rate import SpeedRate

File "/home/genfi/pyvideotrans-main/videotrans/task/_rate.py", line 8, in

from pydub import AudioSegment

File "/home/genfi/.local/lib/python3.13/site-packages/pydub/__init__.py", line 1, in

from .audio_segment import AudioSegment

File "/home/genfi/.local/lib/python3.13/site-packages/pydub/audio_segment.py", line 11, in

from .utils import mediainfo_json, fsdecode

File "/home/genfi/.local/lib/python3.13/site-packages/pydub/utils.py", line 16, in

import pyaudioop as audioop

ModuleNotFoundError: No module named 'pyaudioop'

=====
Linux-6.16.12-200.fc42.x86_64-x86_64-with-glibc2.41
version:v3.80
frozen:False
language:en

1 Replies

This error indicates a missing dependency for pydub on your Linux system. The audioop module (or its replacement pyaudioop) is required for audio processing but is not available in your Python 3.13 environment.

Please run the following command in your terminal to install the necessary system library:

sudo dnf install python3-audio

After installation, restart the pyVideoTrans application. This should resolve the ModuleNotFoundError for audioop/pyaudioop.

If the issue persists, please provide the complete log file from the videotrans/logs/ directory.

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions