Is there a command to display active conda
channels?
I know I can search for the .condarc
file to check for any added channels. However, there are two problems with this approach:
conda
. For example, since conda 4.7, the free
channel has been removed from the default channels. Another example is the addition of channel main
in conda 4.3.27.Therefore, a command is necessary for viewing active conda
channels. Does such a command exist? I have conducted a web search, but have I have not found something.
In addition to conda info
, one can also query configuration info specifically with the conda config --show [key]
command. For high-level channel names, one can use
conda config --show channels
which outputs what you'd see in the .condarc
, i.e., just the names of the channels, no URLs. The URLs used in defaults
can be queried separately,
conda config --show default_channels
which for me gives,
default_channels:
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With