成功解决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
?
目錄
解決問題
解決思路
解決方法
T1、重新安裝Cuda及Cudnn
T2、安裝tensorflow
解決問題
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
推薦文章:CV:Win10下深度學習框架安裝之Tensorflow+Cuda+Cudnn(最清楚/最快捷)之詳細攻略(圖文教程)
T2、安裝tensorflow
pip install?tensorflow-gpu==1.4.0總結
以上是生活随笔為你收集整理的成功解决ImportError: Could not find ‘cudart64_90.dll‘. TensorFlow requires that this DLL be installed in的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成功解决ModuleNotFoundEr
- 下一篇: 成功解决 gpu_device.cc:1