Skip to content

Commit

Permalink
Auto deploy from GitHub Actions build 484
Browse files Browse the repository at this point in the history
taoky: [6c70dec] anaconda: Update current status
  • Loading branch information
web-flow authored Aug 15, 2024
1 parent a78a740 commit d9c9cd3
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 131 deletions.
54 changes: 23 additions & 31 deletions anaconda.html
Original file line number Diff line number Diff line change
Expand Up @@ -2762,46 +2762,38 @@


<h1 id="anaconda">Anaconda<a class="headerlink" href="#anaconda" title="Permanent link">&para;</a></h1>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>~~由于合规性问题,Anaconda 源目前已经无限期停止服务。~~</p>
<p>由于硬盘容量问题,Anaconda 源暂时停止服务,所有访问将会被 302 重定向至 TUNA 镜像站。</p>
</div>
<h2 id="_1">地址<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h2>
<p><a href="https://mirrors.ustc.edu.cn/anaconda/">https://mirrors.ustc.edu.cn/anaconda/</a></p>
<h2 id="_2">说明<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<p>Anaconda 仓库镜像</p>
<h2 id="_3">使用说明<a class="headerlink" href="#_3" title="Permanent link">&para;</a></h2>
<p>Anaconda 安装包可以在 <a href="https://mirrors.ustc.edu.cn/anaconda/archive/">https://mirrors.ustc.edu.cn/anaconda/archive/</a> 下载。</p>
<p>Miniconda 安装包可以在 <a href="https://mirrors.ustc.edu.cn/anaconda/miniconda/">https://mirrors.ustc.edu.cn/anaconda/miniconda/</a> 下载。</p>
<p>添加 USTC 仓库镜像:</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>conda<span class="w"> </span>config<span class="w"> </span>--add<span class="w"> </span>channels<span class="w"> </span>https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a>conda<span class="w"> </span>config<span class="w"> </span>--add<span class="w"> </span>channels<span class="w"> </span>https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a>conda<span class="w"> </span>config<span class="w"> </span>--set<span class="w"> </span>show_channel_urls<span class="w"> </span>yes
</code></pre></div>
<p>Conda 附加库:</p>
<p>Miniconda(Anaconda 的轻量级替代)安装包可以在 <a href="https://mirrors.ustc.edu.cn/anaconda/miniconda/">https://mirrors.ustc.edu.cn/anaconda/miniconda/</a> 下载。</p>
<p><code>.condarc</code> 写入配置以使用镜像站,其中各个操作系统对应的文件:</p>
<ul>
<li>
<p>Conda Forge</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>conda<span class="w"> </span>config<span class="w"> </span>--add<span class="w"> </span>channels<span class="w"> </span>https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
</code></pre></div>
</li>
<li>
<p>msys2</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a>conda<span class="w"> </span>config<span class="w"> </span>--add<span class="w"> </span>channels<span class="w"> </span>https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
</code></pre></div>
</li>
<li>
<p>bioconda</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a>conda<span class="w"> </span>config<span class="w"> </span>--add<span class="w"> </span>channels<span class="w"> </span>https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
</code></pre></div>
</li>
<li>
<p>menpo</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a>conda<span class="w"> </span>config<span class="w"> </span>--add<span class="w"> </span>channels<span class="w"> </span>https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
</code></pre></div>
<li>Linux &amp; macOS: <code>$HOME/.condarc</code></li>
<li>Windows: <code>%USERPROFILE%\.condarc</code><ul>
<li>由于 Windows 资源管理器的限制,可能需要先运行 <code>conda config --set show_channel_urls yes</code> 来生成这个文件。</li>
</ul>
</li>
</ul>
<p>内容如下:</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nt">channels</span><span class="p">:</span>
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">defaults</span>
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="nt">show_channel_urls</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="nt">default_channels</span><span class="p">:</span>
<a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">https://mirrors.ustc.edu.cn/anaconda/pkgs/main</span>
<a id="__codelineno-0-6" name="__codelineno-0-6" href="#__codelineno-0-6"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">https://mirrors.ustc.edu.cn/anaconda/pkgs/r</span>
<a id="__codelineno-0-7" name="__codelineno-0-7" href="#__codelineno-0-7"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">https://mirrors.ustc.edu.cn/anaconda/pkgs/msys2</span>
<a id="__codelineno-0-8" name="__codelineno-0-8" href="#__codelineno-0-8"></a><span class="nt">custom_channels</span><span class="p">:</span>
<a id="__codelineno-0-9" name="__codelineno-0-9" href="#__codelineno-0-9"></a><span class="w"> </span><span class="nt">conda-forge</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">https://mirrors.ustc.edu.cn/anaconda/cloud</span>
<a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a><span class="w"> </span><span class="nt">pytorch</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">https://mirrors.ustc.edu.cn/anaconda/cloud</span>
</code></pre></div>
<div class="admonition warning">
<p class="admonition-title">custom_channels</p>
<p>目前 <code>custom_channels</code> 暂未同步,会重定向至 BFSU。</p>
</div>
<p>之后运行 <code>conda clean -i</code> 清除缓存后,使用 <code>conda create -n myenv numpy</code> 测试配置是否正确。</p>
<h2 id="_4">相关链接<a class="headerlink" href="#_4" title="Permanent link">&para;</a></h2>
<dl>
<dt>官方主页</dt>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2652,8 +2652,8 @@ <h1 id="_1">帮助首页<a class="headerlink" href="#_1" title="Permanent link">
<p>提示:可以按下 <span class="keys"><kbd class="key-s">S</kbd></span> 键开始搜索。</p>
<div class="admonition info">
<p class="admonition-title">信息</p>
<p>本帮助页面部署自 <a href="https://github.com/ustclug/mirrorhelp/commit/be218e1b6488ca954491b0cef59efd66167c5d0a"><code>be218e1</code> fernvenue: packaging-gitea: Add documentation (#261)</a></p>
<p>更新时间:2024-08-14 17:01:17</p>
<p>本帮助页面部署自 <a href="https://github.com/ustclug/mirrorhelp/commit/6c70dec33324d7c87f3b3aba6487cc98e12e9f7c"><code>6c70dec</code> taoky: anaconda: Update current status</a></p>
<p>更新时间:2024-08-15 21:22:35</p>
</div>


Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit d9c9cd3

Please sign in to comment.