This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:uvcdat:cdat_conda:miniconda3_install [2021/03/09 10:38] jypeter [Fine-tuning conda] |
other:uvcdat:cdat_conda:miniconda3_install [2021/03/09 10:40] jypeter [Changing the .condarc file] |
||
---|---|---|---|
Line 124: | Line 124: | ||
Most of the packages we will install will be provided by the //conda-forge// channel (''-c conda-forge'' option). The installation steps will also add dependencies that will theoretically come from //conda-forge//, but could also come from the //defaults// channel. | Most of the packages we will install will be provided by the //conda-forge// channel (''-c conda-forge'' option). The installation steps will also add dependencies that will theoretically come from //conda-forge//, but could also come from the //defaults// channel. | ||
- | The following will **make sure that we only get packages from //conda-forge//** (see [[https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html|Managing channels]] and [[https://conda-forge.org/docs/user/tipsandtricks.html#how-to-fix-it|Using multiple channels => How to fix it]]) | + | The following will **make sure that we only get packages from //conda-forge//** unless the requested packages really don't exist on //conda-forge// (see [[https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html|Managing channels]] and [[https://conda-forge.org/docs/user/tipsandtricks.html#how-to-fix-it|Using multiple channels => How to fix it]]) |
<code>$ conda config --add channels conda-forge | <code>$ conda config --add channels conda-forge | ||
$ conda config --set channel_priority strict | $ conda config --set channel_priority strict | ||
- | $ cat .condarc | + | $ cat ~/.condarc |
channels: | channels: | ||
- conda-forge | - conda-forge |