#2921 pyimod03_ctypes.install.<locals>.PyInstallerImportError: Failed to load dynlib/dll 'F:\\win-videotrans-v3.76_20250731_07

121.33* Posted at: 5 hours ago 👁8

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 'F:\win-videotrans-v3.76_20250731_074638\_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 'F:\win-videotrans-v3.76_20250731_074638\_internal\azure\cognitiveservices\speech\Microsoft.CognitiveServices.Speech.core.dll'. Most likely this dynlib/dll was not found when the application was frozen.


=
system:Windows-10-10.0.19041-SP0
version:v3.92
frozen:True
language:zh
root_dir:F:/win-videotrans-v3.76_20250731_074638

1 Replies

这是由于软件包文件缺失或损坏导致的,具体是 Azure TTS 模块所需的动态链接库文件 Microsoft.CognitiveServices.Speech.core.dll 未找到。

解决方案

  1. 重新下载完整版软件包:您当前使用的是 v3.76 版本的旧包,但日志显示软件版本为 v3.92,这表明您可能使用了不完整的更新包或文件已损坏。请从官方渠道下载最新的 完整版 .7z 压缩包。
  2. 彻底清理并重新安装

    • 关闭 pyVideoTrans 软件。
    • 将当前有问题的整个软件目录(F:\win-videotrans-v3.76_20250731_074638完全删除
    • 将新下载的完整版 .7z 压缩包解压到一个全新的、路径中不含中文和空格的目录中(例如 D:\pyVideoTrans)。
    • 切勿在压缩包内直接运行,也不要解压到 C:\Program Files 等需要管理员权限的目录。
  3. 启动软件:双击新解压目录中的 sp.exe 启动程序。

重要提醒:请确保下载的是“完整版”而非“补丁包”。如果问题依旧,可能是下载文件不完整,请尝试更换网络环境重新下载。

请查阅相关文档:

Post Your Reply