依据我的cuda8.0 .cudnn7.1 只能安装最高tensorflow版本为tensorflow-gpu==1.4.0
而 清华等 国内镜像 不能用了,或者很久没更新,版本 缺失,如清华的这个镜像站:
https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/gpu/
不过
可以通过 pypi安装,或者 国内 总有其他镜像 网站, 果然 找到了 https://blog.csdn.net/q1234luo/article/details/79750159
pip install --index-url https://pypi.douban.com/simple tensorflow
或pip install --index-url https://mirrors.aliyun.com/pypi/simple/ tensorflow
关于版本 匹配的问题 ,官网上就有。。也可以直接参考这个博客,,或者搜Tensorflow不同版本要求对应CUDA及CUDNN版本
https://blog.csdn.net/yeler082/article/details/80943040
只需要 修改版本即可 安装,基本 秒安装 ,如 我的 修改为
pip install --index-url https://pypi.douban.com/simple tensorflow-gpu==1.4.0
安装成功。
清华的 没有更新了, 缺很多最新的版本。https://mirrors.tuna.tsinghua.edu.cn/tensorflow/