[Python] How to search for module only in Anaconda's default channel?

Discussão em 'Python' iniciado por Stack, Julho 17, 2025.

  1. Stack

    Stack Membro Participativo

    If I search anaconda.org for matplotlib, the one from conda-forge is shown first. Other channels follow. Further down the list, anaconda / matplotlib shows up. The doesn't seem to be any sort order to the search results. If I didn't examine all the results carefully, I would have wrongly assumed that I need to get the conda-forge version. My crude understanding is that this may mess up management of package dependencies.

    For this reason, I would like to first restrict my search to the default channel. If I can't find it there, I want to search the conda-forge channel. Finally, if it still isn't found, I would want to open up the search.

    Is it possible to control the scope of search by channel?

    Continue reading...

Compartilhe esta Página