Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch install docs to use mamba #223

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions docs/install.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
Installation
============

conda
mamba
-----

Install espaloma::
We recommend using `mamba <https://mamba.readthedocs.io/en/latest/mamba-installation.html#mamba-installation>`_ which is a drop-in replacement for ``conda`` and is much faster.

conda install -c conda-forge "espaloma=0.3.2"
.. code-block:: bash

$ mamba create --name espaloma -c conda-forge "espaloma=0.3.2"

Note: If you are using a Mac with an M1/M2 chip, you will need to install and run ``espaloma`` using `Rosetta <https://support.apple.com/en-us/HT211861>`_ by using the following commands:

.. code-block:: bash

CONDA_SUBDIR=osx-64 mamba create --name espaloma -c conda-forge "espaloma=0.3.2"
mamba activate espaloma
mamba config --env --set subdir osx-64

This will ensure that any other packages installed in the ``espaloma`` environment will also use Rosetta.
Loading