ddean2009 / MoneyPrinterPlus

AI一键批量生成各类短视频,自动批量混剪短视频,自动把视频发布到抖音,快手,小红书,视频号上,赚钱从来没有这么容易过! 支持本地语音模型chatTTS,fasterwhisper,GPTSoVITS,支持云语音:Azure,阿里云,腾讯云。支持Stable diffusion,comfyUI直接AI生图。Generate short videos with one click using AI LLM,print money together! support:chatTTS,faster-whisper,GPTSoVITS,Azure,tencent Cloud,Ali Cloud.
GNU General Public License v3.0
2.43k stars 461 forks source link

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

Open lovepoem opened 3 weeks ago

lovepoem commented 3 weeks ago

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 <module>
    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 <module>
    from services.audio.alitts_service import AliAudioService
File "/Users/wx/workspace/MoneyPrinterPlus/services/audio/alitts_service.py", line 26, in <module>
    from pydub import AudioSegment
File "/Users/wx/workspace/MoneyPrinterPlus/venv/lib/python3.13/site-packages/pydub/__init__.py", line 1, in <module>
    from .audio_segment import AudioSegment
File "/Users/wx/workspace/MoneyPrinterPlus/venv/lib/python3.13/site-packages/pydub/audio_segment.py", line 11, in <module>
    from .utils import mediainfo_json, fsdecode
File "/Users/wx/workspace/MoneyPrinterPlus/venv/lib/python3.13/site-packages/pydub/utils.py", line 16, in <module>
    import pyaudioop as audioop

<img width="1441" alt="image" src="https://github.com/user-attachments/assets/83ff37fc-fe9c-4813-a763-23a5dba9e02b">
icycommond commented 4 days ago

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