lazydog28 / mc_auto_boss

鸣潮后台自动刷BOSS声骸
629 stars 64 forks source link

ImportError: DLL load failed while importing onnxruntime_pybind11_state: 动态链接库(DLL)初始化例程失败。 #205

Open sailikas opened 1 month ago

sailikas commented 1 month ago

在运行程序时: python .\background\main.py 遇到报错: ImportError: DLL load failed while importing onnxruntime_pybind11_state: 动态链接库(DLL)初始化例程失败。 解决办法: conda install conda-forge::vs2015_runtime

haoha0 commented 1 month ago

thanks

Mifezhinai commented 1 month ago

大佬 按照这种方式之后现在是这种问题 【INFO】 2024-07-20 12:12:06 战斗次数:0 吸收次数:0 治疗次数:0 将窗口移动至左上角2024-07-20 12:12:06.6290840 [E:onnxruntime:Default, provider_bridge_ort.cc:1745 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1426 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\MingChao\envs\mc\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

lazydog28 commented 1 month ago

onnxruntime_providers_cuda

cuda没安装好