Skip to content

Windows整合包生成视频报错 #175

@FanKang2021

Description

@FanKang2021

文件查看是存在的

FileNotFoundError: Could not find module 'C:\Users\14597\Desktop\NarratoAI_v0.7\lib\python\Lib\site-packages\azure\cognitiveservices\speech\Microsoft.CognitiveServices.Speech.core.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Traceback:
File "C:\Users\14597\Desktop\NarratoAI_v0.7\NarratoAI\webui.py", line 245, in
main()
File "C:\Users\14597\Desktop\NarratoAI_v0.7\NarratoAI\webui.py", line 241, in main
render_generate_button()
File "C:\Users\14597\Desktop\NarratoAI_v0.7\NarratoAI\webui.py", line 173, in render_generate_button
result = tm.start_subclip_unified(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\14597\Desktop\NarratoAI_v0.7\NarratoAI\app\services\task.py", line 297, in start_subclip_unified
tts_results = voice.tts_multiple(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\14597\Desktop\NarratoAI_v0.7\NarratoAI\app\services\voice.py", line 1509, in tts_multiple
sub_maker = tts(
^^^^
File "C:\Users\14597\Desktop\NarratoAI_v0.7\NarratoAI\app\services\voice.py", line 1091, in tts
return azure_tts_v2(text, voice_name, voice_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\14597\Desktop\NarratoAI_v0.7\NarratoAI\app\services\voice.py", line 1174, in azure_tts_v2
import azure.cognitiveservices.speech as speechsdk
File "C:\Users\14597\Desktop\NarratoAI_v0.7\lib\python\Lib\site-packages\azure\cognitiveservices\speech_init_.py", line 8, in
from .speech import *
File "C:\Users\14597\Desktop\NarratoAI_v0.7\lib\python\Lib\site-packages\azure\cognitiveservices\speech\speech.py", line 13, in
from .interop import (
File "C:\Users\14597\Desktop\NarratoAI_v0.7\lib\python\Lib\site-packages\azure\cognitiveservices\speech\interop.py", line 20, in
sdk_lib = load_library.LoadLibrary(lib_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ctypes_init
.py", line 460, in LoadLibrary
File "ctypes_init_.py", line 379, in init

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions