User Tools

Site Tools


other:uvcdat:cdat_conda:miniconda3_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
other:uvcdat:cdat_conda:miniconda3_install [2021/03/09 10:37]
jypeter [Fine-tuning conda]
other:uvcdat:cdat_conda:miniconda3_install [2021/03/09 10:40]
jypeter [Changing the .condarc file]
Line 114: Line 114:
 We intend to **create complex environments** (combining lots of packages, with complex dependencies) and it is highly recommended to use the specific settings described in this section We intend to **create complex environments** (combining lots of packages, with complex dependencies) and it is highly recommended to use the specific settings described in this section
  
-Getting conda configuration information:+==== Getting conda configuration information ​==== 
   * [[https://​docs.conda.io/​projects/​conda/​en/​latest/​commands/​config.html|conda config]] documentation   * [[https://​docs.conda.io/​projects/​conda/​en/​latest/​commands/​config.html|conda config]] documentation
   * Basic information:​ ''​conda info''​   * Basic information:​ ''​conda info''​
Line 123: 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
other/uvcdat/cdat_conda/miniconda3_install.txt · Last modified: 2024/04/25 14:24 by jypeter