-
Notifications
You must be signed in to change notification settings - Fork 40
Install using PCMDI Anaconda channel (deprecated)
Jiwoo Lee edited this page Jan 11, 2022
·
1 revision
We offer an installation for anaconda users under linux-64 or osx-64. Support for Windows is not available yet.
https://anaconda.org/PCMDI/pcmdi_metrics/files
- Install the Anaconda for Python 3.9 package (we recommend installing this for each user)
- Make sure anaconda is in your PATH (assuming anaconda is installed in ${HOME}/anaconda
-
export PATH=${HOME}/anaconda/bin:${PATH}
# for [ba]sh -
setenv PATH ${HOME}/anaconda/bin:${PATH}
# for [t]csh
-
Make sure you have no environment variables set from an old UV-CDAT installation in your PATH
/PYTHONPATH
,LD_LIBRARY_PATH
etc
If your institution has tight ssl certificate/security issues try:
conda config --set ssl_verify False
binstar config --set ssl_verify False
Using the conda package manager, you can install the PCMDI Metrics package from the PCMDI conda channel, and from an environment containing CDAT.
conda create -n [YOUR_CDAT_ENABLED_CONDA_ENVIRONMENT]
-
source activate [YOUR_CDAT_ENABLED_CONDA_ENVIRONMENT]
(See CDAT Install) conda install pcmdi_metrics -c cdat-forge
conda create -n [YOUR_ENV_NAME_HERE] -c cdat/label/nightly -c pcmdi/label/nightly -c conda-forge -c cdat pcmdi_metrics
source activate [YOUR_ENV_NAME_HERE]
To learn more about conda environments see: http://conda.pydata.org/docs/using/envs.html