mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-26 05:02:48 +00:00
help: anaconda: add more channels
This commit is contained in:
parent
dbd38861c3
commit
ec8aa4e64a
|
|
@ -10,11 +10,11 @@ Anaconda 是一个用于科学计算的 Python 发行版,支持 Linux, Mac, Wi
|
||||||
|
|
||||||
Anaconda 安装包可以到 <{{ site.url }}/anaconda/archive/> 下载。
|
Anaconda 安装包可以到 <{{ site.url }}/anaconda/archive/> 下载。
|
||||||
|
|
||||||
TUNA 还提供了 Anaconda 仓库与第三方源(conda-forge、msys2、pytorch等,[查看完整列表]({{ site.url }}/anaconda/cloud/))的镜像,各系统都可以通过修改用户目录下的 `.condarc` 文件来使用 TUNA 镜像源。Windows 用户无法直接创建名为 `.condarc` 的文件,可先执行 `conda config --set show_channel_urls yes` 生成该文件之后再修改。
|
TUNA 还提供了 Anaconda 仓库与第三方源(conda-forge、msys2、pytorch等,[查看完整列表]({{ site.url }}/anaconda/cloud/),更多第三方源可以前往[校园网联合镜像站](https://mirrors.cernet.edu.cn/list/anaconda)查看)的镜像,各系统都可以通过修改用户目录下的 `.condarc` 文件来使用 TUNA 镜像源。Windows 用户无法直接创建名为 `.condarc` 的文件,可先执行 `conda config --set show_channel_urls yes` 生成该文件之后再修改。
|
||||||
|
|
||||||
注:由于更新过快难以同步,我们不同步`pytorch-nightly`, `pytorch-nightly-cpu`, `ignite-nightly`这三个包。
|
注:由于更新过快难以同步,我们不同步`pytorch-nightly`, `pytorch-nightly-cpu`, `ignite-nightly`这三个包。
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
channels:
|
channels:
|
||||||
- defaults
|
- defaults
|
||||||
show_channel_urls: true
|
show_channel_urls: true
|
||||||
|
|
@ -30,6 +30,9 @@ custom_channels:
|
||||||
pytorch: {{ site.url }}/anaconda/cloud
|
pytorch: {{ site.url }}/anaconda/cloud
|
||||||
pytorch-lts: {{ site.url }}/anaconda/cloud
|
pytorch-lts: {{ site.url }}/anaconda/cloud
|
||||||
simpleitk: {{ site.url }}/anaconda/cloud
|
simpleitk: {{ site.url }}/anaconda/cloud
|
||||||
|
# 如果需要使用其他第三方源(参考上方完整列表)
|
||||||
|
# 例如 conda install -c pytorch-test,则可以添加
|
||||||
|
#pytorch-test: {{ site.url }}/anaconda/cloud
|
||||||
```
|
```
|
||||||
|
|
||||||
即可添加 Anaconda Python 免费仓库。
|
即可添加 Anaconda Python 免费仓库。
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue