Ubuntu下基于Anaconda的Tensorflow安装

(1)下载Anaconda
(2)安装Anaconda
    bash Anaconda3-4.2.0-Linux-x86_64.sh
(3)利用Anaconda安装Tensorflow
Create a conda environment called tensorflow.
    conda create -n tensorflow python=3.5

Activate the environment and use pip to install TensorFlow inside it.
    source activate tensorflow

Install tensorflow1.0.0(cpu版本)
    pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc0-cp35-cp35m-linux_x86_64.whl

注意:安装成功后,每次使用 TensorFlow 的时候需要激活 conda 环境。

posted @ 2017-11-09 22:05  junjie_x  阅读(358)  评论(0编辑  收藏  举报