Tensorflow:我安装了CUDA 9.2但它需要9.0?

s̮̦*_*̥̳̼ 12 cuda tensorflow

我按照书中的说明安装了CUDA Toolkit 9.2版.然后我收到了这个错误

ImportError:找不到'cudart64_90.dll'.TensorFlow要求将此DLL安装在%PATH%环境变量中指定的目录中.从以下URL下载并安装CUDA 9.0:https://developer.nvidia.com/cuda-toolkit

我搜索并发现tensorflow需要9.0,但我接下来该怎么办?我应该删除旧版本的CUDA然后安装9.0版本,或者只安装9.0(所以我会有两个版本共存)?我不想破坏我的电脑,帮助~~~

编辑:

我从以下链接下载了CUDA9.0 patch1:https://developer.nvidia.com/cuda-90-download-archive? target_os=Windows&target_arch=x86_64&target_version =10& target_type=exelocal .但似乎安装程序不起作用(当我双击它时它会立即消失)?

s̮̦*_*̥̳̼ 13

从它的论坛:https://devtalk.nvidia.com/default/topic/493290/multiple-cuda-versions-can-they-coexist-/,他们说多个不同版本的CUDA可以共存!只需下载您需要的所有版本并下载所有补丁(闪烁与否)和相应的cuDNN.我使用conda在虚拟环境中安装了tensorflow,并在安装了所有东西后(重启计算机/重新打开命令提示符几次),然后它现在可以工作了!