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