13

我正在尝试conda-forge从 Anaconda Enterprise 环境中安装软件包,并且“标准”方法失败了,因为conda它是相对于我们的企业 anaconda 实例进行搜索,而不是使用外部 anaconda url。conda-forge频道的完整网址是什么?

conda此环境中频道的默认基本网址是https://wwwdesign.anaconda.company.com/repository/conda,所以当我使用

channels:
    - conda-forge

我收到以下错误:

WARNING: The remote server could not find the noarch directory for the requested channel with url: https://wwwdesign.anaconda.company.com/repository/conda/conda-forge

我可以通过添加来强制conda查看默认的公共 anaconda 频道http://repo.anaconda.com/pkgs/main,但我找不到conda-forge. 我试过https://anaconda.org/conda-forge/repo了,但它不起作用(与上面类似的错误)。

4

1 回答 1

24

Short Answer conda-forge的完全解析网址是https://conda.anaconda.org/conda-forge/

我如何找到它 在其他信息中,conda info吐出您在 conda 中配置的完整频道 URL。我添加conda-forge到我的工作站condaconda config --add channels conda-forge运行conda info. 您将获得每个频道的两个网址,一个<OS>-64and noarch,但似乎您可以将其剪掉并使用https://conda.anaconda.org/<channel-name>/.

于 2019-04-16T15:32:17.963 回答