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 Both sides next revision
other:uvcdat:cdat_conda:miniconda3_install [2024/03/13 16:57]
jypeter [What? Why?]
other:uvcdat:cdat_conda:miniconda3_install [2024/03/22 10:41]
jypeter [What? Why?] Started improving
Line 3: Line 3:
 ===== What? Why? ===== ===== What? Why? =====
  
-  * //​Miniconda3//​ is a minimal ​python environment/​distribution that can be used for creating more complete ​work environments. It will basically make the ''​conda''​ command available on your computer, and you can then use ''​conda''​ to install and update ​more python ​packages and their dependencies.+  * //​Miniconda3//​ is a minimal/bootstrap Python ​distribution that can be used for creating more complete ​Python distributions. It will basically make a recent ​''​conda''​ command available on your computer, and you can then use this ''​conda''​ to create independent Python distributions,​ where you can install and update ​Python ​packages and their dependencies.
  
-  * A python ​//​environment//​ is basically where you install ​python. A python //​distribution//​ is the collection of packages you have chosen to install together in the environment.+  * A conda //​environment//​ is basically where you install ​the Python that you will use (independently of //​Miniconda3//​ itself). A python //​distribution//​ is the collection of packages you have chosen to install together in this environment. 
 +    * Example: initializing an environment named ''​cdatm_py3''<​code>​ >which conda 
 +conda: ​  ​aliased to source /​path_to_miniconda/​etc/​profile.d/​conda.csh 
 + 
 + > conda activate cdatm_py3 
 + 
 +(cdatm_py3) > which python 
 +/​path_to_miniconda/​envs/​cdatm_py3/​bin/​python 
 +</​code>​ 
 +    * The special ''​base''​ environment is where miniconda itself is installed<​code> ​ > conda activate base 
 + 
 +(base) > which python 
 +/​path_to_miniconda/​bin/​python 
 +</​code>​
  
   * You don't need to be (and **you should not be**) //root// when you install Miniconda3. You just need enough disk space where you have write access   * You don't need to be (and **you should not be**) //root// when you install Miniconda3. You just need enough disk space where you have write access
other/uvcdat/cdat_conda/miniconda3_install.txt · Last modified: 2024/05/30 15:43 by jypeter