#5357 OSError: [WinError 127] 找不到指定的程序。 Error loading

155.254* Posted at: 2 days ago

[WinError 127] 找不到指定的程序。 Error loading "G:\pyVideoTrans\_internal\torch\lib\cusolver64_11.dll" or one of its dependencies.,Traceback (most recent call last):
File "videotrans\util\checkgpu.py", line 15, in run
File "videotrans\util\gpus.py", line 19, in getset_gpu
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 "torch\__init__.py", line 270, in

_load_dll_libraries()

File "torch\__init__.py", line 266, in _load_dll_libraries

raise err

OSError: [WinError 127] 找不到指定的程序。 Error loading "G:\pyVideoTrans\_internal\torch\lib\cusolver64_11.dll" or one of its dependencies.


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:G:/pyVideoTrans

1 Replies

这是由 CUDA 依赖缺失导致的问题:软件在加载 Torch 库时找不到 cusolver64_11.dll 及其依赖项。

解决方案:

  1. 安装 CUDA 和 cuDNN(推荐使用 GPU 加速)

  2. 临时使用 CPU 模式(不勾选 CUDA 加速)

    • 在启动 sp.exe 前,设置系统环境变量 CUDA_VISIBLE_DEVICES=-1(可新建一个批处理文件 set CUDA_VISIBLE_DEVICES=-1 && start sp.exe)。
    • 进入软件后,确保主界面 不勾选 “CUDA加速” 选项。

请查阅相关文档:

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. Dondate: ko-fi.com/jianchang512

Related resource