0
点赞
收藏
分享

微信扫一扫

OSError: [WinError 126] 找不到指定的模块。 Error loading “D:\ProgramData\Anaconda3\lib\site-packages\torch\li

萨科潘 2022-04-03 阅读 129
pytorch

跑代码的时候pytorch报错,说找不到指定模块

OSError: [WinError 126] 找不到指定的模块。 Error loading "D:\ProgramData\Anaconda3\lib\site-packages\torch\lib\asmjit.dll" or one of its dependencies.

原因在报错信息开头就有写,少了c++没安装,才会报错,按照他给的地址下载安装,问题解决。

Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.
               
 It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe

 下载地址:https://aka.ms/vs/16/release/vc_redist.x64.exe

举报

相关推荐

0 条评论