win10安装tensorflow-gpu版本遇到的坑

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

1,版本过高,需要cuda9.0。但是我电脑是安装的cuda8.0。于是我准备安装低版本,利用清华的资源,安装1.3版本,利用下面的命令。

pip install --upgrade https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/gpu/tensorflow_gpu-1.3.0rc0-cp35-cp35m-win_amd64.whl

但是又出现下面的报错。

tensorflow_gpu-1.3.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

原因是我用的python3.6,这个版本是3.5的,所以又换了一个版本。用下面的命令。

pip install --upgrade https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/gpu/tensorflow_gpu-1.2.1-cp36-cp36m-win_amd64.whl

你可能感兴趣的:(tensorflow,tensorflow,gpu,win10)