【问题标题】:I Installed TensorFlow-gpu using anaconda and it cant find a file "cudart64_10.dll", but that file exists我使用 anaconda 安装了 TensorFlow-gpu,但找不到文件“cudart64_10.dll”,但该文件存在
【发布时间】:2019-12-14 18:34:54
【问题描述】:

就像我之前说的,在 anaconda 安装 TensorFlow-gpu 后,我在 python 终端中遇到了这个错误

W tensorflow/stream_executor/platform/default/dso_loader.cc:55] 无法加载动态库 'cudart64_100.dll'; dlerror: 找不到 cudart64_100.dll

问题是,这个文件实际上存在于这个目录中(也许这会有所帮助)C:\Users\MyUser\Anaconda3\envs\Gpu_Tensor_Flow\Library\bin
请帮助我,因为我不知道我做错了什么。

【问题讨论】:

    标签: python-3.x tensorflow anaconda


    【解决方案1】:

    我遇到了同样的问题 Jozef Jarosciak 发表了一个对我有用的答案,请访问 https://www.joe0.com/2019/10/19/how-resolve-tensorflow-2-0-error-could-not-load-dynamic-library-cudart64_100-dll-dlerror-cudart64_100-dll-not-found/

    我直接从他的网站下载了 cudart64_100.dll 并把它放在这个路径中(使用 windows,我想这对你来说是一样的,因为在 linux 上安装很容易) C:\Program Files\NVIDIA GPU Computing Toolkit\ CUDA\v9.0\bin\

    这很奇怪,因为我安装了最新版本的所有软件需求,仍然 tensorflow 似乎加载了这个旧 dll,可能是 tensorflow 还不是最新的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-13
      • 1970-01-01
      • 2022-10-15
      • 2021-06-05
      • 2017-10-05
      • 1970-01-01
      • 2017-02-10
      • 1970-01-01
      相关资源
      最近更新 更多