按照下面這個博客安裝好anaconda
http://blog.csdn.net/tina_ttl/article/details/51762471
1、安裝好Anaconda之后然后再用conda建立一個名字叫tensorflow的計算環境
conda create -n tensorflow python=2.7
2、激活環境,使用 conda 安裝 TensorFlow
source activate tensorflow
3、安裝tensorflow
Pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0rc0-cp27-none-linux_x86_64.whl
安裝好tensorflow后,每次使用 TensorFlow的時候需要用下面這個語句激活conda為TensorFlow建立的環境
source activate tensorflow
注意了用Anaconda安裝好的tensorflow只是為tensorflow建立了一個環境而已,里面除了tensorflow之外啥也沒有
所以在這個環境下如果要使用什么spyder或者jupyter的開發軟件之類的就要用下面這個語句進行安裝
conda install spyder/jupyter
如果要使用什么matplotlib等庫的也要用下面這個語句進行安裝
conda install spyder/jupyter