-
Notifications
You must be signed in to change notification settings - Fork 65
Additional Installation Configurations
davis278 edited this page Mar 13, 2019
·
4 revisions
If you're interested in a "cdat-lite", you can install just a few packages instead of everything:
-
conda create -n myvcs vcs -c conda-forgewill get you thevcsmodule (along with CDMS2, which is one of its dependencies) -
conda create -n mycdms2 cdms2 -c conda-forgewill install just thecdms2module -
conda create -n cdat_lite cdms2 cdutil -c conda-forgewill get you bothcdms2andcdutil.
-
conda create -n [YOUR_ENV_NAME_HERE] -c conda-forge python=3.6 cdatFor Python 2 use:python=2.7 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 enviroments 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/nightly -c conda-forge cdat [YOUR_DESIRED_ADDITIONAL_PACKAGES_HERE]
Let's say you would like to add the jupyter package after you installed CDAT.
Simply run (while in your environment):
conda activate [YOUR_ENV_NAME_HERE]
conda install jupyter -c conda-forge
- see this page
- see this page