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

Next revision Both sides next revision
other:uvcdat:cdat_conda:cdat_8_0_py2 [2018/11/07 17:08]
jypeter created
other:uvcdat:cdat_conda:cdat_8_0_py2 [2018/11/08 09:47]
jypeter
Line 18: Line 18:
 We have installed a new version of Miniconda3, based on the old [[other:​uvcdat:​conda_notes#​installing_miniconda|installing miniconda]] instructions We have installed a new version of Miniconda3, based on the old [[other:​uvcdat:​conda_notes#​installing_miniconda|installing miniconda]] instructions
  
- * Follow the [[https://​conda.io/​docs/​install/​quick.html|Quick install]] steps to install Miniconda+  ​* Follow the [[https://​conda.io/​docs/​install/​quick.html|Quick install]] steps to install Miniconda
     * Get the [[https://​repo.continuum.io/​miniconda/​Miniconda3-latest-Linux-x86_64.sh|Python 3.7 Linux 64-bit (bash installer)]] (unless there is a [[https://​conda.io/​miniconda.html|more recent version?]])     * Get the [[https://​repo.continuum.io/​miniconda/​Miniconda3-latest-Linux-x86_64.sh|Python 3.7 Linux 64-bit (bash installer)]] (unless there is a [[https://​conda.io/​miniconda.html|more recent version?]])
       * ''​cd /​home/​scratch01/​jypeter''​ (some temporary storage space for the installer)       * ''​cd /​home/​scratch01/​jypeter''​ (some temporary storage space for the installer)
Line 44: Line 44:
 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''​)
-          * ''#​ added by Miniconda2 4.3.21 ​installer''​\\ ''​export PATH="/​home/​share/​unix_files/​cdat/​miniconda2/​bin:​$PATH"''​ +          * ''#​ added by Miniconda3 ​installer''​\\ ''​export PATH="/​home/​share/​unix_files/​cdat/​miniconda3/​bin:​$PATH"''​ 
-    * Open a new terminal (if you use bash) or type ''​bash'' ​and check if the python from the conda distribution has been correctly installed +    * Open a new terminal (if you use bash) or open a new terminal and type ''​bash''​ 
-      * Update and clean the new installation +      * check if the python from the conda distribution has been correctly installed\\ <​code>​ > bash 
-        * ''​conda update ​%%--%%all''​ +$ which python 
-        * ''​conda clean %%--%%all''​ +/​home/​share/​unix_files/​cdat/​miniconda3/​bin/​python 
-      * <​code>​bash-4.1$ which python +$ which conda 
-/​home/​share/​unix_files/​cdat/​miniconda2/bin/python +/​home/​share/​unix_files/​cdat/​miniconda3/​bin/​conda</​code>​ 
-bash-4.1$ du -sh /​home/​share/​unix_files/​cdat/​miniconda2 +      * Update and clean the new installation\\ <​code>​$ ​conda update --all 
-114M    /​home/​share/​unix_files/​cdat/​miniconda2 +$ du -sh /​home/​share/​unix_files/​cdat/​miniconda3 
-bash-4.1$ conda list +515M    ​/home/share/​unix_files/​cdat/​miniconda3 
-# packages in environment at /​home/​share/​unix_files/​cdat/​miniconda2:+$ conda clean --all 
 +$ du -sh /​home/​share/​unix_files/​cdat/​miniconda3 
 +270M    /​home/​share/​unix_files/​cdat/​miniconda3 
 +$ conda list 
 +# packages in environment at /​home/​share/​unix_files/​cdat/​miniconda3:
 # #
-cffi                      1.9.1                    py27_0 +# Name                    Version ​                  ​Build  Channel
-conda                     ​4.3.13 ​                  ​py27_0 +
-conda-env ​                ​2.6.0 ​                        0 +
-cryptography ​             1.7.1                    py27_0+
 [...] [...]
 +python ​                   3.7.1                h0371630_3
 +readline ​                 7.0                  h7b6447c_5
 +requests ​                 2.20.0 ​                  ​py37_0
 +[...]</​code>​
 +  * Remove the miniconda3 initialization lines automatically added at the end of ''​.bashrc''​ and put them (and other useful commands) in a special initialization file, that can be sourced only when we actually want to use conda and CDAT
  
-<note important>​\\ We used the [[other:​uvcdat:​cdat_conda:​cdat_2_8_0#​downgrading_conda|recommended downgraded version of conda]] that was available after installing UV-CDAT 2.8</​note>​ +Disk space used before 2.10 installation (after running ''​conda clean --all''​)
- +
-DIsk space used before 2.10 installation (after running ''​conda clean --all''​)+
  
 <​code>​ > du -sh /​home/​share/​unix_files/​cdat/​miniconda2 <​code>​ > du -sh /​home/​share/​unix_files/​cdat/​miniconda2
other/uvcdat/cdat_conda/cdat_8_0_py2.txt · Last modified: 2021/02/27 13:55 by jypeter