From a4e2ac3165d6dac15c2d0b735800f625c1fabdda Mon Sep 17 00:00:00 2001 From: Jiwoo Lee Date: Thu, 29 Jun 2023 17:21:55 -0700 Subject: [PATCH] Update install.rst --- docs/install.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/install.rst b/docs/install.rst index fec2aa4cf..9f6d24cc9 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -53,9 +53,20 @@ To learn more about conda environments see: http://conda.pydata.org/docs/using/e .. _Anaconda: https://www.anaconda.com/products/individual#Downloads .. _conda: https://docs.conda.io/en/latest/ +Note for Apple Silicon M1 or M2: + +The CDAT dependency is not available for this architecture, so you will need to create an environment using x86 builds. This article from Towards Data Science has more information about managing Conda environments on Apple Silicon chips. + +.. code-block:: python + + CONDA_SUBDIR=osx-64 conda create -n [YOUR_CONDA_ENVIRONMENT] -c conda-forge python=[VERSION] + conda activate [YOUR_CONDA_ENVIRONMENT] + conda config --env --set subdir osx-64 + mamba install -c conda-forge pcmdi_metrics or conda install -c conda-forge pcmdi_metrics=[VERSION] + Bypassing firewalls (optional) ============================== If your institution has tight ssl certificate/security issues try before installing PMP: * ``conda config --set ssl_verify False`` - * ``binstar config --set ssl_verify False`` \ No newline at end of file + * ``binstar config --set ssl_verify False``