我正在尝试从Anaconda Enterprise环境中安装conda-forge
软件包并且“标准”方法失败,因为conda
正在搜索相对于我们的企业anaconda实例,而不是使用外部anaconda网址。 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
强制http://repo.anaconda.com/pkgs/main
查看默认的公共anaconda频道,但我找不到conda-forge
的等效网址。我试过https://anaconda.org/conda-forge/repo
,但它不起作用(与上面类似的错误)。
简短回答conda-forge
的完全解析的网址是https://conda.anaconda.org/conda-forge/
我是如何找到它的在其他信息中,conda info
会吐出您在conda中配置的完整通道URL。我用conda-forge
将conda
添加到我的工作站的conda config --add channels conda-forge
并运行conda info
。你会得到每个频道的两个网址,一个<OS>-64
和noarch
,但似乎你可以剪掉它并使用https://conda.anaconda.org/<channel-name>/
。