Skip to content

Commit

Permalink
Merge pull request #956 from PCMDI/lee1043-patch-1
Browse files Browse the repository at this point in the history
Update install.rst
  • Loading branch information
lee1043 committed Jun 30, 2023
2 parents ab3beb2 + a4e2ac3 commit f6c0ebc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,20 @@ To learn more about conda environments see: http:https://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``
* ``binstar config --set ssl_verify False``

0 comments on commit f6c0ebc

Please sign in to comment.