#4637 RuntimeError: {'message': 'tts failed', 'Exception': 'DLL load failed while importing onnxruntime_pybind11_state: 找不到指定的

220.130* Posted at: 8 hours ago 👁19

{'message': 'tts failed', 'Exception': 'DLL load failed while importing onnxruntime_pybind11_state: 找不到指定的模块。'}:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 370, in run
File "videotrans\tts\_base.py", line 181, in run
RuntimeError: {'message': 'tts failed', 'Exception': 'DLL load failed while importing onnxruntime_pybind11_state: 找不到指定的模块。'}


=
system:Windows-10-10.0.28000-SP0
version:v3.98
frozen:True
language:zh
root_dir:F:/app/win-pyvideotrans-v3.98-0410

1 Replies

这是由于系统缺少必要的Visual C++运行时组件导致onnxruntime动态链接库无法加载。

解决方案:

  1. 安装微软VC++运行库(x64版本):下载地址,安装后重启软件。
  2. 如果是通过升级补丁包覆盖安装的,请重新下载完整的软件包解压覆盖,然后再次启动sp.exe。
  3. 若问题依旧,请到 logs/ 目录下提供最新的日志文件(复制底部约30行报错信息)以便进一步分析。

请查阅相关文档:

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.

Related resource