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

猜你喜欢

转载自blog.csdn.net/qq_37175369/article/details/81110788
今日推荐