conda install更新速度解决

(本文为本人学习工作总结,如有雷同,不胜荣幸。可联系本人立即修改或者删除)

conda install更新速度慢

问题:更新tensorflow速度慢怎么办?

解决:

在已按照conda机器上配置国内镜像站

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

conda config --set show_channel_urls yes

测试更新tensorflow,速度是飞一样的感觉

root@stephenlu-X550JD:/home/stephenlu# conda install tensorflowFetching package metadata ...........
Solving package specifications: 
.

Package plan for installation in environment /usr/local/anaconda3:

The following NEW packages will be INSTALLED:

    backports.weakref:      1.0rc1-py35_0         https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    bleach:                 1.5.0-py35_0          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    html5lib:               0.9999999-py35_0      https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    libprotobuf:            3.4.0-0               https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    markdown:               2.6.9-py35_0          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    tensorflow-base:        1.3.0-py35_0          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    tensorflow-tensorboard: 0.1.5-py35_0          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

The following packages will be UPDATED:

    conda:                  4.3.23-py35_0         defaults                                                --> 4.3.30-py35hf9359ed_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    protobuf:               3.2.0-py35_0          conda-forge                                             --> 3.4.0-py35_0          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
    tensorflow:             0.10.0rc0-np111py35_0 anaconda                                                --> 1.3.0-0               https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

The following packages will be SUPERSEDED by a higher-priority channel:

    conda-env:              2.6.0-0               defaults                                                --> 2.6.0-0               https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

Proceed ([y]/n)? 
conda-env-2.6. 100% |################################| Time: 0:00:00 846.96 kB/s
libprotobuf-3. 100% |################################| Time: 0:00:01   2.61 MB/s
markdown-2.6.9 100% |################################| Time: 0:00:00   3.41 MB/s
backports.weak 100% |################################| Time: 0:00:00  14.22 MB/s
html5lib-0.999 100% |################################| Time: 0:00:00 448.55 kB/s
protobuf-3.4.0 100% |################################| Time: 0:00:00   1.57 MB/s
bleach-1.5.0-p 100% |################################| Time: 0:00:00  19.29 MB/s
tensorflow-bas 100% |################################| Time: 0:00:22   1.59 MB/s
tensorflow-ten 100% |################################| Time: 0:00:00   2.86 MB/s
conda-4.3.30-p 100% |################################| Time: 0:00:00   3.09 MB/s
tensorflow-1.3 100% |################################| Time: 0:00:00  14.77 MB/s
>>> import tensorflow as tf
>>> tf.__version__
'1.3.0'

参考

http://blog.csdn.net/simple_the_best/article/details/51589495

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值