不同的python版本,安装不同的tensorflow版本
Python3.5.#
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp35-cp35m-linux_x86_64.whl(CPU)
pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp35-cp35m-linux_x86_64.whl (GPU)
tensorflow-1.4.0 可以改成自己需要安装的版本,比如tensorflow-1.8.0
Python3.6.#
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl (CPU)
pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.4.0-cp36-cp36m-linux_x86_64.whl (GPU)
tensorflow-1.4.0 可以改成自己需要安装的版本,比如tensorflow-1.8.0