#1612 OSError: [WinError 4551] 应用程序控制策略已阻止此文件。 Error loading

111.60* Posted at: 1 day ago 👁59

Traceback (most recent call last):
File "videotrans\mainwin\_actions.py", line 556, in check_start
File "videotrans\mainwin\_actions_sub.py", line 417, in cuda_isok
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 253, in _load_dll_libraries

raise err

OSError: [WinError 4551] 应用程序控制策略已阻止此文件。 Error loading "C:\Users\~\Desktop\win-pyvideotrans-v3.85\_internal\torch\lib\cusolver64_11.dll" or one of its dependencies.


=
system:Windows-10-10.0.26100-SP0
version:v3.85
frozen:True
language:zh
root_dir:C:/Users/~/Desktop/win-pyvideotrans-v3.85

1 Replies

此错误是由于 Windows 系统安全策略阻止了 CUDA 相关文件的加载。请按以下步骤解决:

  1. 关闭 Windows Defender 实时保护

    • 打开 Windows 安全中心 → 病毒和威胁防护 → 管理设置
    • 临时关闭"实时保护"
    • 重新启动软件
  2. 添加软件目录到排除列表

    • 在病毒和威胁防护 → 病毒和威胁防护设置 → 排除项
    • 添加 C:\Users\~\Desktop\win-pyvideotrans-v3.85\ 整个文件夹到排除列表
  3. 检查杀毒软件

    • 如果您安装了第三方杀毒软件(如 360、火绒等),请将软件目录添加到其信任列表
  4. 重新下载软件

    • 如果上述方法无效,请从官网重新下载完整包,确保下载过程中文件未被破坏

完成设置后重新启动软件,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.

Donate: https://ko-fi.com/jianchang512

Trending Questions