Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda 第三方 channel #112

Closed
bigeagle opened this issue Aug 30, 2016 · 155 comments
Closed

conda 第三方 channel #112

bigeagle opened this issue Aug 30, 2016 · 155 comments
Labels
Mirror Request Request for new mirror

Comments

@bigeagle
Copy link
Member

项目名称与简介(Project Intro.)

Anaconda 的社区贡献源

上游地址与镜像方法(How to Mirror)

修改 tunasync-scripts/anaconda.sh,增加以下几个索引
https://conda.anaconda.org/conda-forge/linux-64/repodata.json
https://conda.anaconda.org/conda-forge/osx-64/repodata.json
https://conda.anaconda.org/conda-forge/win-64/repodata.json

其他信息(Other)

  • 镜像大小(Mirror Size):
@bigeagle bigeagle added the Mirror Request Request for new mirror label Aug 30, 2016
@gepcel
Copy link

gepcel commented Dec 27, 2016

+1 on this

@gepcel
Copy link

gepcel commented Dec 30, 2016

请问一下,这个提议现在处于什么状态了?
目前 anaconda 的官方, 包括 conda forge 越来越难连接了。

@bigeagle
Copy link
Member Author

处于没时间写脚本的状态…… 年底+期末

@gepcel
Copy link

gepcel commented Dec 31, 2016

哦,很需要也很想帮忙,可惜我不太懂这个。对 linux 一知半解。近年来由于 python 在 windows 中出现的各种问题才开始不得不慢慢接触 linux, latex 之类的东西...
祝,年底+期末 一切顺利哈!

@bigeagle
Copy link
Member Author

加油~ 新年快乐

@bigeagle bigeagle changed the title conda forge conda 第三方 channel Jan 9, 2017
@bigeagle
Copy link
Member Author

bigeagle commented Jan 9, 2017

需要新加的channel:

  • conda-forge
  • msys2
  • r

bigeagle added a commit to tuna/tunasync-scripts that referenced this issue Jan 9, 2017
@bigeagle
Copy link
Member Author

bigeagle commented Jan 9, 2017

缓慢下载中……

@gepcel
Copy link

gepcel commented Jan 10, 2017

@bigeagle
不好意思,给你添麻烦了。msys2 里面的 win-64 包,我用迅雷全部下载下来了一份,需要的话我可以上传,节省一下下载时间,你可以单纯检查一下 md5 就好。

@bigeagle
Copy link
Member Author

没事,慢慢下,主要是 conda-forge比较大

@gepcel
Copy link

gepcel commented Jan 10, 2017

嗯,之前动过往下拖 conda-forge 的念头,后来放弃了。msys2 才 700+ 兆。
哈哈,这样在国内,数据分析,用 python 和 R 的人就很爽了。。。

@gepcel
Copy link

gepcel commented Jan 18, 2017

有些时候打开 https://mirrors.tuna.tsinghua.edu.cn/anaconda/ 会发现有 cloud 目录在,但更多的时候就消失了,是什么原因呢?是下载没有完成的原因吗?

@huiyiqun
Copy link
Member

huiyiqun commented Jan 18, 2017 via email

@bigeagle
Copy link
Member Author

准确地说是我最近有点忙爆炸,这部分一直还没有做完……%

@gepcel
Copy link

gepcel commented Jan 20, 2017

对 anaconda 的结构不是太熟悉,但是之前一直有些好奇这两个 r 目录:

今天比较了一下,供参考,过程如下:

from urllib.request import urlopen
import json

systems = ['linux-64', 'linux-32', 'win-64', 'win-32', 'osx-64']
url_r_default = 'https://repo.continuum.io/pkgs/r/'
url_r_cloud = 'https://conda.anaconda.org/r/'

r_repodata_default = {s: json.loads(urlopen(url_r_default+s+'/repodata.json').read().decode('utf8')) for s in systems}
r_repodata_cloud = {s: json.loads(urlopen(url_r_cloud+s+'/repodata.json').read().decode('utf8')) for s in systems}

for s in systems:
    pkgs_default = set(r_repodata_default[s]['packages'].keys())
    pkgs_cloud = set(r_repodata_cloud[s]['packages'].keys())
    print('------------')
    print('Dffferences of system: ' + s)
    print(pkgs_default ^ pkgs_cloud)

结果如下:

------------
Dffferences of system: linux-64
set()
------------
Dffferences of system: linux-32
set()
------------
Dffferences of system: win-64
set()
------------
Dffferences of system: win-32
set()
------------
Dffferences of system: osx-64
{'r-png-0.1_7-r3.3.2_3.tar.bz2', 'r-jpeg-0.1_8-r3.3.2_3.tar.bz2'}

最后的那两个包也只是更新一点的版本的问题。
因此……

@bigeagle
Copy link
Member Author

也就是说 cloud/r 是冗余的?

@gepcel
Copy link

gepcel commented Jan 20, 2017

目前来看是这样。
唯一有差异的两个包我怀疑也是 /pkgs/r/osx-64 可能没来得及更新?也不太清楚到底是谁在维护着这两个目录(上级的),有什么计划或者目的。简单搜索了一下也没有搜到这方面的信息。

@bigeagle
Copy link
Member Author

目前 conda-forge 和 msys2 应该都已经搞完了,同学们帮忙测一下?

@gepcel
Copy link

gepcel commented Jan 24, 2017

注意到 conda-forge 下面添加了 noarch/
msys2 下面要不要也添加一个?

Fetching package metadata ..............
WARNING: The remote server could not find the noarch directory for the requested
channel with url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch

It is possible you have given conda an invalid channel. Please double-check
your conda configuration using `conda config --show`.

If the requested url is in fact a valid conda channel, please request that the
channel administrator create `noarch/repodata.json` and associated
`noarch/repodata.json.bz2` files, even if `noarch/repodata.json` is empty.

@bigeagle
Copy link
Member Author

看起来是所有的 repo 都要有 noarch,那我加一下~

@mingzhou
Copy link

造福人类啊!

@stan2133
Copy link

造福人类!什么时候把r-essentials 加上去啊?多谢

@peterjc123
Copy link

还请各位大佬更新一下官网的安装帮助
https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
谢谢啦
我都准备提新issue了,才看到这里已经有了

@huiyiqun
Copy link
Member

如果可以最好你还是提issue吧。我们没有conda的熟练用户。

@busbyjrj
Copy link

上交镜像站也在考虑关闭,sjtug/mirror-requests#47
暂时在用腾讯镜像替代 https://mirrors.cloud.tencent.com/anaconda/,暂时没看到关闭通知,希望可以活得久一些

@wfly1998
Copy link

话说Anaconda有官方认可的中国镜像站吗,官网上没找到……

@Harry-Chen
Copy link
Member

话说Anaconda有官方认可的中国镜像站吗,官网上没找到……

请向 Anaconda Inc. 官方咨询。

z4yx added a commit to tuna/tunasync-scripts that referenced this issue Jun 14, 2019
add more channels mentioned in tuna/issues#112
@dc1y
Copy link

dc1y commented Jun 16, 2019

建议添加plotly通道,有些Plotly相关的库根本无法下载,例如:
conda install -c plotly plotly-orca

谢谢了!

@z4yx
Copy link
Member

z4yx commented Jun 16, 2019

以开始同步。
新的需求可以直接修改这个文件,然后提交pull request: https://github.com/tuna/tunasync-scripts/blob/master/anaconda.py

@ucassee
Copy link

ucassee commented Jun 19, 2019

希望能添加 ursky 谢谢~

@Whisht
Copy link

Whisht commented Jun 21, 2019

希望可以添加fastai的镜像源,谢谢!

@wuxianliang
Copy link

wuxianliang commented Jun 22, 2019

希望能添加 Nvidia公司的 rapidai 和 rapidsai-nightly 。分布式 GPU dataframe。更新需要访问亚马逊云。国内连不上。谢谢。

@yuanzhiroc
Copy link

啊啊啊啊啊啊啊啊啊啊啊啊,安装一个fastai,我要死了,球球泥萌加进去吧!!!!!!

@z4yx
Copy link
Member

z4yx commented Jun 27, 2019

@JayJJChen
Copy link

是否能够加入 anaconda/rpi。在我的树莓派上面配环境真的好慢啊。。。

@SarchWu
Copy link

SarchWu commented Aug 2, 2019

可否在使用帮助里面加上安装pytorch步骤
比如:在添加完pytorch的channel-url后,需要去pytorch官网get-started选择需要安装的对应版本,根据官网提示的安装命令,去掉 -c pytorch 才可以安装相对应的版本

@chenweiguang82
Copy link

可以加上matsci的库吗?谢谢

@RegiusQuant
Copy link

请问可以添加基于pytorch的fastai的channel么,感谢

@z4yx
Copy link
Member

z4yx commented Oct 19, 2019

fastai 已经有了

@DogeWatch
Copy link

希望新加一个 dglteam

@hyp1231
Copy link

hyp1231 commented Nov 14, 2019

同求 dglteam,谢谢!

@liubenyuan
Copy link

希望能加入一个ngsolve

ngsolve和netgen是有限元计算和网格剖分的工具,很好用,python接口也很完备。对于科研和工程都很重要。

@YuHanHaHa
Copy link

我更新的时候有几个部分下载到一半就自动跳过了。
下面的是更新后的提示。。。。

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/pandoc-2.2.3.2-0.conda Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/sympy-1.4-py37_0.conda Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/mkl-2019.4-245.conda Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/qt-5.9.7-vc14h73c81de_0.conda Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.

@leonearlee
Copy link

希望能添加 abinit channel,十分感谢。

@LittleFatHero
Copy link

在anaconda cloud可以搜到的软件(比如py-xgboost),但是通过清华的anaconda源没办法下载安装,显示not available。明明是available的呀。为什么会这样,是不是没有同步?

@0x1orz
Copy link

0x1orz commented Dec 22, 2019

在anaconda cloud可以搜到的软件(比如py-xgboost),但是通过清华的anaconda源没办法下载安装,显示not available。明明是available的呀。为什么会这样,是不是没有同步?

我今天安装时没有问题的,建议先使用conda search py-xgboost搜索一下看看

@0x1orz
Copy link

0x1orz commented Dec 22, 2019

镜像请求 rapidsai
anconda cloud地址:https://anaconda.org/rapidsai
该项目为NVIDIA孵化项目,旨在利用GPU加速数据分析与机器学习

@LittleFatHero
Copy link

LittleFatHero commented Dec 22, 2019

在anaconda cloud可以搜到的软件(比如py-xgboost),但是通过清华的anaconda源没办法下载安装,显示not available。明明是available的呀。为什么会这样,是不是没有同步?

我今天安装时没有问题的,建议先使用conda search py-xgboost搜索一下看看

我知道问题所在了,因为现在清华的anaconda源帮助页面教设置conda源的方法是错误的,按照现在的教程设置conda源安装不上,按照老教程设置conda源就可以。不知道为什么,反正是清华源教错了方法,这个锅必须背

@0x1orz
Copy link

0x1orz commented Dec 22, 2019

在anaconda cloud可以搜到的软件(比如py-xgboost),但是通过清华的anaconda源没办法下载安装,显示not available。明明是available的呀。为什么会这样,是不是没有同步?

我今天安装时没有问题的,建议先使用conda search py-xgboost搜索一下看看

我知道问题所在了,因为现在清华的anaconda源帮助页面教设置conda源的方法是错误的,按照现在的教程设置conda源安装不上,按照老教程设置conda源就可以。不知道为什么,反正是清华源教错了方法,这个锅必须背

我的.condarc设置如下,没有你说的问题呢

channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/fastai/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/intel/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - defaults
show_channel_urls: true
default_threads: 4
custom_channels:
  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
  intel: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  r: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  fastai: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

@hubutui
Copy link

hubutui commented Dec 23, 2019

这个帮助信息是我更新的,刚刚还测试过,没有问题的啊。py-xgboost 是在 anaconda/pkgs/main 里的,这个 channel 是默认就有的,不可能搜不到的。你可能需要再检查一下你的 .condarc 文件是否配置正确。

@wjx0912
Copy link

wjx0912 commented Jan 2, 2020

conda install -c anaconda --yes mxnet

试了@sheljoy的配置,也试了网站(https://mirror.tuna.tsinghua.edu.cn/help/anaconda/)的配置,但是都没有速度,现在的源是正常的吗?

@ghost
Copy link

ghost commented Mar 3, 2020

现在的配置指南中的channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda使我不能安装conda install -c cantera cantera,必须去掉channel_alias才行。

@SJillian
Copy link

项目名称与简介(Project Intro.)

Anaconda 的社区贡献源

上游地址与镜像方法(How to Mirror)

修改 tunasync-scripts/anaconda.sh,增加以下几个索引 https://conda.anaconda.org/conda-forge/linux-64/repodata.json https://conda.anaconda.org/conda-forge/osx-64/repodata.json https://conda.anaconda.org/conda-forge/win-64/repodata.json

其他信息(Other)

  • 镜像大小(Mirror Size):请问怎么增加索引

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mirror Request Request for new mirror
Projects
None yet
Development

No branches or pull requests