#2330 load subtitles area...Set ui text...!!! UNHANDLED EXCEPTION !!!Traceback (most recent call last): File "pyimod03_ctypes

2408:8226* Posted at: 3 hours ago 👁5

load subtitles area...
Set ui text...
!!! UNHANDLED EXCEPTION !!!
Traceback (most recent call last):
File "pyimod03_ctypes.py", line 77, in init
File "ctypes\__init__.py", line 374, in init
FileNotFoundError: Could not find module 'C:\win-pyvideotrans-v3.92\_internal\azure\cognitiveservices\speech\Microsoft.CognitiveServices.Speech.core.dll' (or one of its dependencies). Try using the full path with constructor syntax.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\mainwin\_main_win.py", line 77, in _set_Ui_Text
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "videotrans\tts\__init__.py", line 9, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "videotrans\tts\_azuretts.py", line 5, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "azure\cognitiveservices\speech\__init__.py", line 8, in

from .speech import *

File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "azure\cognitiveservices\speech\speech.py", line 13, in

from .interop import (

File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "azure\cognitiveservices\speech\interop.py", line 20, in

_sdk_lib = load_library.LoadLibrary(lib_path)

File "ctypes\__init__.py", line 452, in LoadLibrary
File "pyimod03_ctypes.py", line 79, in init
pyimod03_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'C:\win-pyvideotrans-v3.92\_internal\azure\cognitiveservices\speech\Microsoft.CognitiveServices.Speech.core.dll'. Most likely this dynlib/dll was not found when the application was frozen.

Successfully killed ffmpeg processes using taskkill

1 Replies

该错误是由于软件启动时加载 Azure TTS 模块失败,缺少必要的动态链接库文件 Microsoft.CognitiveServices.Speech.core.dll

解决方法:

  1. 重新下载完整软件包:您可能下载的是不完整的升级包或安装包。请前往官网下载页面重新下载完整的 win-pyvideotrans-v3.92.7z 文件。
  2. 确保解压路径正确:将下载的完整压缩包解压到一个纯英文、无空格、无特殊符号的路径下(例如 D:\videotrans)。切勿解压到 C:\Program Files 或桌面等系统目录。
  3. 运行正确的可执行文件:解压后,双击文件夹内的 sp.exe 启动软件。

如果重新下载完整包并解压到正确路径后问题依旧,请检查杀毒软件是否误删了该 DLL 文件,并尝试暂时关闭杀毒软件后重新解压。

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