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

web页面报错 ModuleNotFoundError: No module named 'pyaudioop' #76

Open
lovepoem opened this issue Nov 2, 2024 · 1 comment
Open

Comments

@lovepoem
Copy link

lovepoem commented Nov 2, 2024

ModuleNotFoundError: No module named 'pyaudioop'
Traceback:
File "/Users/wx/workspace/MoneyPrinterPlus/venv/lib/python3.13/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/wx/workspace/MoneyPrinterPlus/pages/01_auto_video.py", line 28, in
from main import main_generate_video_content, main_generate_ai_video, main_generate_video_dubbing,
main_get_video_resource, main_generate_subtitle, main_try_test_audio, get_audio_voices, main_try_test_local_audio,
main_generate_ai_video_from_img
File "/Users/wx/workspace/MoneyPrinterPlus/main.py", line 29, in
from services.audio.alitts_service import AliAudioService
File "/Users/wx/workspace/MoneyPrinterPlus/services/audio/alitts_service.py", line 26, in
from pydub import AudioSegment
File "/Users/wx/workspace/MoneyPrinterPlus/venv/lib/python3.13/site-packages/pydub/init.py", line 1, in
from .audio_segment import AudioSegment
File "/Users/wx/workspace/MoneyPrinterPlus/venv/lib/python3.13/site-packages/pydub/audio_segment.py", line 11, in
from .utils import mediainfo_json, fsdecode
File "/Users/wx/workspace/MoneyPrinterPlus/venv/lib/python3.13/site-packages/pydub/utils.py", line 16, in
import pyaudioop as audioop

image
@icycommond
Copy link

遇到同样的问题,切换到3.12后解决了

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

No branches or pull requests

2 participants