User Tools

Site Tools


other:uvcdat:cdat_conda:cdat_8_0_py2

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:cdat_8_0_py2 [2019/02/27 14:27]
jypeter
other:uvcdat:cdat_conda:cdat_8_0_py2 [2019/02/27 16:09]
jypeter Many updates
Line 49: Line 49:
 92K     ssl 92K     ssl
 12K     ​x86_64-conda_cos6-linux-gnu</​code>​ 12K     ​x86_64-conda_cos6-linux-gnu</​code>​
-      * Accept the automatic update of the //PATH// variable in ''​.bashrc''​ (note: the installer automatically creates a backup of ''​.bashrc''​)+      * Accept the automatic update of the //PATH// variable in ''​.bashrc''​ (note: the installer automatically creates a backup of ''​.bashrc''​). This will some extra lines at the end of ''​.bashrc''​ looking like some of the lines below:
         * ''#​ added by Miniconda3 installer''​\\ ''​export PATH="/​home/​share/​unix_files/​cdat/​miniconda3/​bin:​$PATH"''​         * ''#​ added by Miniconda3 installer''​\\ ''​export PATH="/​home/​share/​unix_files/​cdat/​miniconda3/​bin:​$PATH"''​
 +        * ''#​ added by Miniconda4.xxx installer''​\\ ''​[some really fancy bash shell commands]''​
   * Open a new terminal (if you use bash) or open a new terminal and type ''​bash''​   * Open a new terminal (if you use bash) or open a new terminal and type ''​bash''​
     * check if the python from the conda distribution has been correctly installed\\ <​code>​ > bash     * check if the python from the conda distribution has been correctly installed\\ <​code>​ > bash
Line 163: Line 164:
 (cdatm) >which python (cdatm) >which python
 /​home/​share/​unix_files/​cdat/​miniconda3/​envs/​cdatm/​bin/​python</​code>​ /​home/​share/​unix_files/​cdat/​miniconda3/​envs/​cdatm/​bin/​python</​code>​
 +
 +You probably don't want to type the //source// line each time you need to use your conda based python, so you can add a ''​source ​ ~jypeter/​.conda3_jyp.sh''​ line in your ''​~/​.bashrc''​ file, and ''​source ​ ~jypeter/​.conda3_jyp.csh''​ line in your ''​~/​.cshrc''​ file. Then, when you need a specific python environment,​ just type ''​conda activate name_of_the_specific_environment''​
  
 === Old style initialization === === Old style initialization ===
 +
 +<WRAP center round tip 60%>
 +The //old style// notes below are just for reference sake and you can skip them
 +</​WRAP>​
 +
  
 Note: this is the **old** ''​source activate some_version''​ style Note: this is the **old** ''​source activate some_version''​ style
Line 209: Line 217:
  
 ==== Installing CDAT 8.0 ==== ==== Installing CDAT 8.0 ====
 +
 +=== Python 2.7 version ===
  
 <​code>​$ conda create -n cdat-8.0_py2 -c cdat/​label/​v80 -c conda-forge -c cdat python=2.7 cdat <​code>​$ conda create -n cdat-8.0_py2 -c cdat/​label/​v80 -c conda-forge -c cdat python=2.7 cdat
Line 237: Line 247:
 2.8G    /​home/​share/​unix_files/​cdat/​miniconda3/​envs/​cdat-8.0_py2</​code>​ 2.8G    /​home/​share/​unix_files/​cdat/​miniconda3/​envs/​cdat-8.0_py2</​code>​
  
 +=== Python 3.6 version ===
 +
 +<​code>​$ conda create -n cdat-8.0_py3 -c cdat/​label/​v80 -c conda-forge -c cdat python=3.6 cdat</​code>​
  
 ===== Cloning cdat to add specific packages for LSCE ===== ===== Cloning cdat to add specific packages for LSCE =====
other/uvcdat/cdat_conda/cdat_8_0_py2.txt · Last modified: 2021/02/27 13:55 by jypeter