#2038 pyimod03_ctypes.install.<locals>.PyInstallerImportError: Failed to load dynlib/dll 'D:\\win-pyvideotrans-3.90\\_internal

2a02:6ea0* Posted at: 12 hours ago 👁17

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 'D:\win-pyvideotrans-3.90\_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 75, 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 6, 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 'D:\win-pyvideotrans-3.90\_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.26200-SP0
version:v3.90
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-3.90

1 Replies

这个错误是因为软件包中缺少 Azure TTS 所需的 Microsoft.CognitiveServices.Speech.core.dll 动态链接库文件。这是一个已知的打包问题。

请按以下步骤解决:

  1. 重新下载完整软件包:前往官网 https://pyvideotrans.com/downpackage 下载最新的 完整版 压缩包(不是升级补丁)。
  2. 彻底清理旧版本:将当前出错的整个 D:\win-pyvideotrans-3.90 文件夹完全删除
  3. 重新解压到新位置:将下载的新完整包解压到一个全新的、路径简单的英文目录下,例如 D:\pyvideotrans务必确保解压路径不包含任何中文字符或特殊符号
  4. 首次启动:双击新目录下的 sp.exe 启动软件。首次启动加载模块需要一些时间,请耐心等待。

如果重新下载完整包后问题依旧,可能是下载的包本身不完整。请尝试从官方发布页面(如 GitHub Releases)下载另一个版本,或联系开发者反馈此问题。

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

Similar issues already exist

Trending Questions