-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch install docs to use mamba (#223)
- Loading branch information
1 parent
907d183
commit 540c99b
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |