win10
torch 0.4.0
ImportError: DLL load failed: 找不到指定的模块。
File “D:\Python\Python36\lib\site-packages\torch_init_.py”, line 78, in
from torch._C import *
解决办法:https://anaconda.org/anaconda/intel-openmp/files中下载相应操作系统下的intel-openmp-2020.1-216.tar,将.dll文件建个文件夹,添加到系统环境变量。
import torch
print(torch.version)
0.4.0