从源码安装的基本方法见: https://www.tensorflow.org/install/install_sources
当你的cuda版本不满足、操作系统不满足、需要自己编译安装tensorflow, 但国外网络不通畅时,这个过程简直是个噩梦。
用下面连接里的两个文件分辨替换WORKSPACE 和 tensorflow/workspace.bzl, 就可以顺利编译出tensorflow-xxx.whl
链接: https://pan.baidu.com/s/1hsMa1z2 密码:
另外连接中的tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl 是 centos7(和centos6) 的 cuda7.5下编译出来的tensorflow1.0, 可以直接安装使用。
更多的 低版本kernel 安装新的tensorflow 方法:
http://harlambert.co.uk/tensorflow_notes/
http://thelazylog.com/install-tensorflow-with-gpu-support-on-sandbox-redhat/