首先,可以安装一个anaconda。
然后使用python的pip可以安装特定版本的tensorflow,比如
pip install tensorflow-gpu==1.1.0
升级到最新:
GPU版本:
pip install --upgrade tensorflow-gpu
CPU版本:
pip install--upgrade tensorflow
==============如何查看当前tensorflow版本:
python
import tensorflow as tf
tf.__version__
查询tensorflow安装路径为:
tf.__path__
Ref:
http://blog.csdn.net/u011961856/article/details/76861052
https://www.zhihu.com/question/62481252
http://blog.csdn.net/u010682375/article/details/72587962