ImportError: Could not find 'cudart64_90.dll'问题解决


cuda 8.0+cudnn 6.0+tensorflow1.4 以下(正常执行),1.5、1.6、1.7、1.8报错

C:\ProgramData\Anaconda3\lib\site-packages\h5py\__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future,it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Using TensorFlow backend.
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\platform\self_check.py",line 75,in preload_check
    ctypes.WinDLL(build_info.cudart_dll_name)
  File "C:\ProgramData\Anaconda3\lib\ctypes\__init__.py",line 348,in __init__
    self._handle = _dlopen(self._name,mode)
OSError: [WinError 126] 找不到指定的模块。

During handling of the above exception,another exception occurred:

Traceback (most recent call last):
  File "D:/keras-master/examples/cifar10_cnn.py",line 8,in <module>
    import keras
  File "D:\keras-master\keras\__init__.py",line 3,in <module>
    from . import utils
  File "D:\keras-master\keras\utils\__init__.py",line 6,in <module>
    from . import conv_utils
  File "D:\keras-master\keras\utils\conv_utils.py",line 9,in <module>
    from .. import backend as K
  File "D:\keras-master\keras\backend\__init__.py",line 84,in <module>
    from .tensorflow_backend import *
  File "D:\keras-master\keras\backend\tensorflow_backend.py",line 5,in <module>
    import tensorflow as tf
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\__init__.py",line 24,in <module>
    from tensorflow.python import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\__init__.py",line 49,in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py",line 30,in <module>
    self_check.preload_check()
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\platform\self_check.py",line 82,in preload_check
    % (build_info.cudart_dll_name,build_info.cuda_version_number))
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

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...