超简单使用anaconda安装TensorFlow

我用的链接: https://pan.baidu.com/s/1BAsqhcktclreKK9Iiz_Qaw 密码: zyei
或者Anaconda 安装包
或者官网下载
开始安装,下载后,进入该文件目录:

bash ./Anaconda2-5.1.0-Linux-x86_64.sh

全程Yes,并注意

gedit ~/.bashrc

添加

# added by Anaconda2 installer
export PATH="/home/l/anaconda2/bin:$PATH"

到这里,就安装完毕了
切换源
更换清华源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

使用anaconda

source activate root

安装TensorFlow

anaconda-navigator

这里可能要等一会才会反应出来
这里写图片描述
如图,选择tensorflow ——> 勾上,然后点击右下角的apply
神器jupyter notebook

jupyter notebook 

猜你喜欢

转载自blog.csdn.net/discoverhfub/article/details/80937066