我正在尝试从Anaconda Enterprise环境中安装conda-forge包,但“标准”方法失败了,因为conda是相对于我们的企业anaconda实例进行搜索的,而不是使用外部anaconda url。conda-forge频道的完整url是什么?
在这个环境中,conda频道的缺省基本url是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我可以通过添加http://repo.anaconda.com/pkgs/main来强制conda查看默认的公共anaconda通道,但是我找不到与conda-forge对应的url。我尝试过https://anaconda.org/conda-forge/repo,但它不起作用(类似于上面的错误)。
发布于 2019-04-16 23:32:18
Short Answer conda-forge的完全解析url是https://conda.anaconda.org/conda-forge/
我是如何找到它的除了其他信息外,conda info还列出了你在conda中配置的全通道URL。我使用conda config --add channels conda-forge将conda-forge添加到我的工作站的conda中,并运行conda info。对于每个频道,您将获得两个urls,一个<OS>-64和一个noarch,但似乎您可以将其去掉并使用https://conda.anaconda.org/<channel-name>/。
https://stackoverflow.com/questions/55711498
复制相似问题