Python中如何加速下载Anaconda 5.0.1?
官网下载太慢了 啊 !崩溃 有第三方下载镜像么 求!
Python中如何加速下载Anaconda 5.0.1?
8 回复
清华有镜像
用国内镜像源最快。清华、中科大、阿里云都行,直接改.condarc配置文件或者安装时指定。
方法一:直接安装时指定镜像(最推荐)
下载安装脚本后,用-C参数指定清华源:
wget https://repo.anaconda.com/archive/Anaconda3-5.0.1-Linux-x86_64.sh
bash Anaconda3-5.0.1-Linux-x86_64.sh -C https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
方法二:修改conda配置(长期有效) 安装后执行这几条命令,以后所有conda操作都会走清华源:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --set show_channel_urls yes
这会生成~/.condarc文件,内容类似:
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults
show_channel_urls: true
其他可用镜像源:
- 中科大:
https://mirrors.ustc.edu.cn/anaconda/ - 阿里云:
https://mirrors.aliyun.com/anaconda/
换源能提升10倍下载速度,国内用户必备操作。
一句话总结:换国内镜像源是唯一有效的加速方法。
https://mirrors.geekpie.org/anaconda/
上海科大镜像,如果你在上海周边的话会比较快,上游是清华。
百度云离线
楼上说的不错,前提你要有百度云会员,不然更慢。
使用 IDM 32 线程 基本可以跑满带宽
这个速度好快啊,谢谢了

