What is the full conda-forge channel url?
Asked Answered
O

1

19

I'm trying to install conda-forge packages from within an Anaconda Enterprise environment and the "standard" approach is failing because conda is searching relative to our enterprise anaconda instance, rather than using the external anaconda url. What is the full url for the conda-forge channel?

The default base url for conda channels in this environment is https://wwwdesign.anaconda.company.com/repository/conda, so when I use

channels:
    - conda-forge

I get the following error:

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

I can force conda to look in the default public anaconda channel by adding http://repo.anaconda.com/pkgs/main, but I can't find the equivalent url for conda-forge. I tried https://anaconda.org/conda-forge/repo, but it doesn't work (similar error to above).

Orientation answered 16/4, 2019 at 15:16 Comment(0)
O
32

Short Answer conda-forge's fully resolved url is https://conda.anaconda.org/conda-forge/

How I found it Among other information, conda info spits out the full channel URLs that you've configured in conda. I added conda-forge to my workstation's conda with conda config --add channels conda-forge and ran conda info. You'll get two urls for each channel, an <OS>-64 and noarch, but it seems like you can snip that off and use https://conda.anaconda.org/<channel-name>/ .

Orientation answered 16/4, 2019 at 15:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.