anaconda常用命令

设置anaconda代理链接地址

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

conda config --set show_channel_urls yes

 

查询所有tensorflow镜像源

anaconda search -t conda tensorflow

 

查看镜像源信息

anaconda show anaconda/tensorflow-gpu

 

根据信息install tensorflow

conda install --channel https://conda.anaconda.org/anaconda tensorflow-gpu

也可以装到不同的环境

conda install -n ts36 --channel https://conda.anaconda.org/anaconda tensorflow-gpu

 

新建anaconda环境

conda create -n ts36 python=3.6

使用环境

source activate ts36

 

你可能感兴趣的:(tensorflow)