加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

ImportError: Could not find 'cudart64_90.dll&#39

发布时间:2020-12-13 21:08:50 所属栏目:Windows 来源:网络整理
导读:cuda 8.0+cudnn 6.0+tensorflow1.4 以下(正常执行),1.5、1.6、1.7、1.8报错 C:ProgramDataAnaconda3libsite-packagesh5py__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is depre


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

C:ProgramDataAnaconda3libsite-packagesh5py__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:ProgramDataAnaconda3libsite-packagestensorflowpythonplatformself_check.py",line 75,in preload_check
    ctypes.WinDLL(build_info.cudart_dll_name)
  File "C:ProgramDataAnaconda3libctypes__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-masterkeras__init__.py",line 3,in <module>
    from . import utils
  File "D:keras-masterkerasutils__init__.py",line 6,in <module>
    from . import conv_utils
  File "D:keras-masterkerasutilsconv_utils.py",line 9,in <module>
    from .. import backend as K
  File "D:keras-masterkerasbackend__init__.py",line 84,in <module>
    from .tensorflow_backend import *
  File "D:keras-masterkerasbackendtensorflow_backend.py",line 5,in <module>
    import tensorflow as tf
  File "C:ProgramDataAnaconda3libsite-packagestensorflow__init__.py",line 24,in <module>
    from tensorflow.python import *
  File "C:ProgramDataAnaconda3libsite-packagestensorflowpython__init__.py",line 49,in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:ProgramDataAnaconda3libsite-packagestensorflowpythonpywrap_tensorflow.py",line 30,in <module>
    self_check.preload_check()
  File "C:ProgramDataAnaconda3libsite-packagestensorflowpythonplatformself_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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读