-
anaconda清华镜像
2018-11-30 13:55:21清华镜像:https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ 1、Anaconda 镜像使用帮助 Anaconda 是一个用于科学计算的 Python 发行版,支持 Linux, Mac, Windows, 包含了众多流行的科学计算、数据分析的 Python...
清华镜像:https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/2019年5月30日更新,今天用conda更新时已经提示不能用了,用下面命令清除清华源,改为默认源
conda config --remove-key channels
1、Anaconda 镜像使用帮助
Anaconda 是一个用于科学计算的 Python 发行版,支持 Linux, Mac, Windows, 包含了众多流行的科学计算、数据分析的 Python 包。
版本对照表:来自这里(https://blog.csdn.net/yuejisuo1948/article/details/81043823)
Anaconda 安装包可以到 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 下载。
清华的马上就不能用了,找到了这个链接:https://repo.continuum.io/archive/
TUNA 还提供了 Anaconda 仓库的镜像,运行以下命令:设置搜索时显示通道地址
conda config --set show_channel_urls yes
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 --set show_channel_urls yes
即可添加 Anaconda Python 免费仓库。
运行
conda install numpy
测试一下吧。2、pypi 镜像使用帮助
pypi 镜像每 5 分钟同步一次。
临时使用
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
注意,
simple
不能少, 是https
而不是http
设为默认
升级 pip 到最新的版本 (>=10.0.0) 后进行配置:
pip install pip -U pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
-
anaconda 清华镜像
2020-12-11 19:12:29channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free - ...channels:
- defaults
show_channel_urls: true
channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda
default_channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud -
Anaconda清华镜像
2019-09-11 18:33:08镜像网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 命令 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels ...镜像网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
命令
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 --set show_channel_urls yes -
Anaconda清华镜像源的使用及安装Pytorch失败问题解决
2019-03-12 19:12:42Anaconda Anaconda(官方网站) 是一个用于科学...Anaconda本身也可以通过清华镜像下载。 在Anaconda中使用清华镜像源1 添加清华镜像至Anaconda仓库 运行以下命令,将清华镜像添加至Anaconda仓库中 conda config -...通过pip下载可参考文章:通过清华镜像源加速下载pytorch——(pip版本)
太长不看版
如果你使用
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
来安装pytorch,并且添加了清华镜像源,但还是由于网络原因下载失败,你只需要把-c pytorch
去掉:conda install pytorch torchvision cudatoolkit=9.0
这是因为
-c
参数指明了下载pytorch的通道,优先级比清华镜像更高。
Anaconda
Anaconda(官方网站) 是一个用于科学计算的 Python 发行版,支持 Linux, Mac, Windows, 包含了众多流行的科学计算、数据分析的 Python 包。
Anaconda本身也可以通过清华镜像下载。在Anaconda中使用清华镜像源1
添加清华镜像至Anaconda仓库
运行以下命令,将清华镜像添加至Anaconda仓库中
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 --set show_channel_urls yes
Conda Forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
msys2
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
bioconda
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
menpo
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/
pytorch
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ # for legacy win-64 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123/
安装pytorch
获取pytorch特定版本下载命令
进入pytorch官网,根据系统、python版本、cuda版本选择下载命令。
这里有个坑
许多同学表示添加镜像源之后,安装pytorch的过程依然很漫长,甚至中断退出安装,甚至有不少帖子表示“不要再使用清华镜像源了”。
其实真正的问题是,pytorch官网中给出的下载命令为:conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
其中,
-c pytorch
参数指定了conda获取pytorch的channel
,在此指定为conda自带的pytorch仓库。
因此,只需要将-c pytorch
语句去掉,就可以使用清华镜像源快速安装pytorch了。
-
anaconda清华镜像更改
2020-11-19 22:01:49清华镜像步骤 -
anaconda清华镜像_通过清华镜像下载pytorch TensorFlow OpenCV
2020-11-22 21:21:411、pytorch 的安装因为网络墙pytorch安装非常慢,总停止,并且失败通过清华镜像,先下载如下:https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/cudnn-7.6.5-cuda10.0_0.tar.bz2... -
anaconda清华镜像下载cv_喜大普奔: Anaconda的清华镜像又可以用了
2020-11-28 22:36:516月15日的公告现在同步官方的Anaconda小伙伴,还记得如何添加channel吗?conda config --add channels ... -
anaconda清华镜像安装pytorch
2020-05-08 15:45:471.切换清华镜像源头 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 ... -
anaconda清华镜像加速
2020-03-05 14:28:551.设为默认 升级 pip 到最新的版本 (>=10.0.0) 后进行配置: pip install pip -U pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 2.临时使用 pip install -i ... -
anaconda 源_Anaconda 清华镜像使用帮助
2020-12-28 22:30:26可以通过修改用户目录下的 .condarc 文件。 Windows 用户无法直接创建名为 .condarc 的文件, 可先执行 conda config --set show_channel_urls yes 生成该文件之后再修改。......anaconda/cloud 查看镜像源... -
基于Anaconda清华镜像安装Scrapy
2018-10-22 22:23:52安装Anaconda Anaconda截止到现在已经发布到5.2.0版本,分为...有时候可能因为网速问题下载太慢,这里推荐使用 清华的镜像网站 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 安装时建... -
anaconda 清华镜像及对应下载
2020-05-07 23:02:57网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 如下图: 想要那个版本就摘取哪个版本。 -
anaconda 清华镜像挂了,怎么办以后
2019-05-17 14:49:54今早打开清华镜像软件开源库 打算下一个3.6版本的python, 没想到昨天的通知说以后无限期停更,这以后可咋整啊? 官网只能下载最新版,速度还超慢,实在无法忍受 试问大神们有win10 64位的anaconda 5.2.0的安装包... -
Anaconda清华镜像下载大文件频繁出错
2021-03-08 11:01:33最近在使用Anaconda的过程中,因为需要配置Pytorch的GPU环境,就下载了cudatoolkit这个包的时候,一直发生时不时的断连情况,导致安装情况十分痛苦,后来再Github上发现了官方关于这个问题的解答 首先我们可以查看到... -
anaconda pytorch_Anaconda清华镜像源的使用及安装Pytorch失败问题解决
2020-11-27 12:26:47参考博客:如果你使用conda install pytorch torchvision cudatoolkit= -c pytorch来安装pytorch,并且添加了清华镜像源,但还是由于网络原因下载失败,你只需要把-c pytorch去掉:conda install pytorch ...