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/06/28 13:17]
jypeter [Using mamba instead of conda]
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
  
-  * If you are installing Miniconda3 in a Linux environment on a [[other:​win10wsl|Windows 10 computer using Windows Subsystem for Linux (WSL)]], pay special attention to the instructions on the **WSL** lines+  * If you are installing Miniconda3 in a Linux environment on a [[other:​win10wsl|Windows 10 computer using Windows Subsystem for Linux (WSL)]], pay special attention to the specific ​instructions on the **WSL** lines
  
   * The way you do things will depend on how you are going to use python. There may be some slight differences if you are installing the environment just for you, or if you need a more stable environment because you are installing for multiple users.   * The way you do things will depend on how you are going to use python. There may be some slight differences if you are installing the environment just for you, or if you need a more stable environment because you are installing for multiple users.
other/uvcdat/cdat_conda/miniconda3_install.txt · Last modified: 2024/04/25 14:24 by jypeter