Cuda 、Tensorflow安装中出现的"ImportError: DLL load failed: 找不到指定的模块。" 问题
偶然读到https://blog.****.net/u011517332/article/details/90743579,利用vs2015的dumpbin.exe来查询dll的依赖情况,丰富一下
conda 下命令:
c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe" /dependents C:\Anaconda3\lib\site-packages\tensorflow\python\_pywrap_tensorflow_internal.pyd
独立python安装下命令:
"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe" /dependents C:\Python\Python36\lib\site-packages\tensorflow\python\_pywrap_tensorflow_internal.pyd
举例如下:
出了问题,
一个一个核对dll,发现缺少cudnn64_7.dll.问题解决。