conda install更新速度解决

来源:互联网 发布:java调用ant打包 编辑:程序博客网 时间:2024/06/16 21:59

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

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/freeThe 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/freeThe 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/freeProceed ([y]/n)? conda-env-2.6. 100% |################################| Time: 0:00:00 846.96 kB/slibprotobuf-3. 100% |################################| Time: 0:00:01   2.61 MB/smarkdown-2.6.9 100% |################################| Time: 0:00:00   3.41 MB/sbackports.weak 100% |################################| Time: 0:00:00  14.22 MB/shtml5lib-0.999 100% |################################| Time: 0:00:00 448.55 kB/sprotobuf-3.4.0 100% |################################| Time: 0:00:00   1.57 MB/sbleach-1.5.0-p 100% |################################| Time: 0:00:00  19.29 MB/stensorflow-bas 100% |################################| Time: 0:00:22   1.59 MB/stensorflow-ten 100% |################################| Time: 0:00:00   2.86 MB/sconda-4.3.30-p 100% |################################| Time: 0:00:00   3.09 MB/stensorflow-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