other:uvcdat:cdat_conda:cdat_8_0_py2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next 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 [2018/11/13 18:21] – Added details for activating conda jypeter | ||
---|---|---|---|
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