-
Notifications
You must be signed in to change notification settings - Fork 68
Additional Installation Configurations
Lina Muryanto edited this page Oct 14, 2020
·
4 revisions
If you're interested in a "cdat-lite", you can install just a few packages instead of everything:
-
conda create -n mycdms2 cdms2 -c conda-forge
will install just thecdms2
module -
conda create -n cdat_lite cdms2 cdutil -c conda-forge
will get you bothcdms2
andcdutil
. -
conda create -n myvcs vcs -c cdat/label/v8.2.1 -c conda-forge
will get you thevcs
module (along with CDMS2, which is one of its dependencies)
conda create -n [YOUR_ENV_NAME_HERE] -c cdat/label/v8.2.1 -c conda-forge python=3.6 cdat
conda activate [YOUR_ENV_NAME_HERE]
-
conda env list
list your available conda envs -
conda create -n [YOUR_ENV_NAME_HERE] --clone ENV
to clone an environment and add to it - To learn more about conda environments see: http://conda.pydata.org/docs/using/envs.html
The beauty of conda is that it lets you create and add environments at will. You can create you own environment with whatever python package you fancy using the following command:
conda create -n [YOUR_ENV_NAME_HERE] -c cdat/label/v81 -c conda-forge cdat [YOUR_DESIRED_ADDITIONAL_PACKAGES_HERE]
Let's say you would like to add the jupyterhub
package after you installed CDAT.
Simply run (while in your environment):
conda activate [YOUR_ENV_NAME_HERE]
conda install jupyterhub -c conda-forge
- see this page
- see this page