成功解决ImportError: Could not find 'cudart64_90.dll'. TensorFlow requires that this DLL be installed in

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_41185868/article/details/80896598

成功解决ImportError: Could not find 'cudart64_90.dll'. TensorFlow requires that this DLL be installed in

 

 

 

目录

解决问题

解决思路

解决方法


 

 

 

 

解决问题

ImportError: Could not find 'cudart64_90.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 9.0 from this URL: https://developer.nvidia.com/cuda-toolkit

 

 

 

解决思路

导入错误:找不到“cudart64_90.dll”。TensorFlow要求将此dll安装在%Path%环境变量中命名的目录中。从以下网址下载并安装CUDA 9.0:https://developer.nvidia.com/cuda-toolkit

 

 

解决方法

缺少dll文件,有两种情况

T1、重新安装Cuda及Cudnn
参考文章:TF学习——TF安装(Cuda/Cudnn):Win10下安装深度学习框架Tensorflow+Cuda+Cudnn最简单最快捷最详细攻略(图文教程)

T2、安装tensorflow

pip install tensorflow-gpu==1.4.0

 

 

 

 

 

没有更多推荐了,返回首页