other:uvcdat:cdat_conda:cdat_8_0_py2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:uvcdat:cdat_conda:cdat_8_0_py2 [2018/11/08 18:01] – jypeter | other:uvcdat:cdat_conda:cdat_8_0_py2 [2019/02/27 11:54] – jypeter | ||
---|---|---|---|
Line 18: | Line 18: | ||
==== Installing Miniconda3 ==== | ==== Installing Miniconda3 ==== | ||
- | We have installed a new version of Miniconda3, by following | + | We have installed a new version of Miniconda3 |
- | * Follow the [[https:// | + | |
- | * Get the [[https:// | + | * Get the [[https:// |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * Execute the installer | + | * Execute the installer |
- | * '' | + | * '' |
- | * Accept the license | + | * Accept the license |
- | * Specify an explicit installation path **outside of the home directory**, | + | * Specify an explicit installation path **outside of the home directory**, |
- | * Resulting '' | + | * Resulting '' |
302M miniconda3 | 302M miniconda3 | ||
> | > | ||
Line 45: | Line 45: | ||
92K ssl | 92K ssl | ||
12K | 12K | ||
- | | + | |
- | * ''# | + | * ''# |
- | * Open a new terminal (if you use bash) or open a new terminal and type '' | + | * Open a new terminal (if you use bash) or open a new terminal and type '' |
- | * check if the python from the conda distribution has been correctly installed\\ < | + | * check if the python from the conda distribution has been correctly installed\\ < |
$ which python | $ which python | ||
/ | / | ||
$ which conda | $ which conda | ||
/ | / | ||
- | | + | |
$ du -sh / | $ du -sh / | ||
515M / | 515M / | ||
Line 68: | Line 68: | ||
requests | requests | ||
[...]</ | [...]</ | ||
- | * Remove | + | |
+ | ==== Post-Miniconda3 installation ==== | ||
+ | |||
+ | The idea is to remove | ||
+ | |||
+ | === New style initialization === | ||
+ | |||
+ | Note: this is the **new** '' | ||
+ | |||
+ | See the '' | ||
+ | |||
+ | < | ||
/ | / | ||
+ | |||
$ cat ~jypeter/ | $ cat ~jypeter/ | ||
- | # Conda initialization by JYP | + | # Conda initialization by JYP, NEW style |
# | # | ||
# Use this for working with conda and CDAT centrally managed by JYP | # Use this for working with conda and CDAT centrally managed by JYP | ||
+ | # | ||
+ | # Execute this file in a BASH shell with | ||
+ | # | ||
+ | # Then get the list of available python distributions with | ||
+ | # conda env list | ||
+ | # Then activate a specific distribution with | ||
+ | # conda activate version_name | ||
# | # | ||
# More details in: | # More details in: | ||
- | # | + | # |
# | # | ||
# | # | ||
# Jean-Yves Peterschmitt - LSCE - 11/2018 | # Jean-Yves Peterschmitt - LSCE - 11/2018 | ||
- | export PATH="/ | + | . / |
# Use the alias below to easily determine where your python | # Use the alias below to easily determine where your python | ||
Line 91: | Line 110: | ||
# The end | # The end | ||
+ | |||
$ source ~jypeter/ | $ source ~jypeter/ | ||
+ | |||
+ | $ conda activate cdatm | ||
+ | (cdatm) $ which python | ||
+ | / | ||
+ | |||
+ | </ | ||
+ | |||
+ | **tcsh shell** usage example | ||
+ | |||
+ | < | ||
+ | / | ||
+ | |||
+ | > | ||
+ | # Conda initialization by JYP, NEW style | ||
+ | # | ||
+ | # Use this for working with conda and CDAT centrally managed by JYP | ||
+ | # | ||
+ | # Execute this file in a TCSH shell with | ||
+ | # | ||
+ | # Then get the list of available python distributions with | ||
+ | # conda env list | ||
+ | # Then activate a specific distribution with | ||
+ | # conda activate version_name | ||
+ | # | ||
+ | # More details in: | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # Jean-Yves Peterschmitt - LSCE - 11/2018 | ||
+ | |||
+ | source / | ||
+ | |||
+ | # Use the alias below to easily determine where your python | ||
+ | # interpreter is located | ||
+ | alias wp "which python" | ||
+ | |||
+ | # Where are ALL the python interpreters in the search path | ||
+ | alias wpa " | ||
+ | |||
+ | # The end | ||
+ | |||
+ | > | ||
+ | |||
+ | > | ||
+ | |||
+ | (cdatm) >which python | ||
+ | / | ||
+ | |||
+ | === Old style initialization === | ||
+ | |||
+ | Note: this is the **old** '' | ||
+ | |||
+ | See the '' | ||
+ | |||
+ | < | ||
+ | / | ||
+ | |||
+ | $ cat .conda3old_jyp.sh | ||
+ | # Conda initialization by JYP, OLD style | ||
+ | # | ||
+ | # Use this for working with conda and CDAT centrally managed by JYP | ||
+ | # | ||
+ | # Execute this file in a BASH shell with | ||
+ | # | ||
+ | # Then get the list of available python distributions with | ||
+ | # conda env list | ||
+ | # Then activate a specific distribution with | ||
+ | # | ||
+ | # | ||
+ | # More details in: | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # Jean-Yves Peterschmitt - LSCE - 11/2018 | ||
+ | |||
+ | export PATH="/ | ||
+ | |||
+ | # Use the alias below to easily determine where your python | ||
+ | # interpreter is located | ||
+ | alias wp=" | ||
+ | |||
+ | # Where are ALL the python interpreters in the search path | ||
+ | alias wpa=" | ||
+ | |||
+ | # The end | ||
+ | |||
+ | $ source ~jypeter/ | ||
+ | |||
$ wp | $ wp | ||
/ | / | ||
Line 98: | Line 206: | ||
==== Installing CDAT 8.0 ==== | ==== Installing CDAT 8.0 ==== | ||
- | < | + | < |
# Generate the list of installed packages | # Generate the list of installed packages | ||
- | conda list -n cdat-8.0_py2 > / | + | $ conda list -n cdat-8.0_py2 > / |
List of installed packages: {{: | List of installed packages: {{: |
other/uvcdat/cdat_conda/cdat_8_0_py2.txt · Last modified: 2021/02/27 14:55 by jypeter