赞
踩
ImportError: Could not find ‘cudart64_100.dll’. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive
我的配置信息:
cudart64_100.dll
,然后让我们降级回10.0C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA(你的cuda安装路径)
路径访问cuda,在其bin目录下查找是否有cudart64_100.dll模块pip install tensorflow # 稳定版
此时tensorflow版本变为2.3.0
打开cmd 输入python进入python环境
import tensorflow as tf
tf.test.is_gpu_available()
希望大家运行结果都是true
参考文献:
CUDA、CUDNN在windows下的安装及配置
GPU 支持
问题解决之“nvcc”不是内部或外部命令
tensorflow遇到ImportError: Could not find 'cudart64_100.dll’错误解决
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。