How to configure `conda` to stop using `defaults` channels
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
By default, the defaults channel alias points to three sources at https://repo.anaconda.com, which are covered by the Anaconda, Inc., Terms of Service.
There is a good chance your configuration is using some or all of these channels. Here is how to fix that. Conda configuration is held in .condarc files at the user and folder levels (and possibly the system level, this is not commonly configured by default).
- Show default channels with
conda config --show default_channels. - Verify what channels are being used with
conda config --show channels. - Also try
conda config --show-sourcesto know which.condarcfiles are configuring the channels. - Use
conda config --remove channels defaultsto remove thedefaultschannel alias from your user-level config. - Use
conda config --append default_channels conda-forge. If that doesn't work, replace--appendwith--set.
At the end, when using conda config --show you should have no channels: key and you should have the following as part of your configuration.
default_channels:
- conda-forge
Be sure to run conda clean --all --yes once, and pip cache purge in all relevant environments, including the base environment.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the repository's documentation entry point for Conda configuration; no specific file or test is named in the issue. Check the listed conda commands and ensure the documentation explains removing defaults, setting conda-forge, cleaning caches, and verifying the resulting configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100