Skip to content

Commit 907d183

Browse files
authored
Update README.md Install Steps (#198)
Fixes #195
1 parent dd0bf1a commit 907d183

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,22 @@ We show that this approach is not only sufficiently expressive to reproduce lega
2222

2323
# Installation
2424

25+
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.
26+
27+
```bash
28+
$ mamba create --name espaloma -c conda-forge "espaloma=0.3.2"
29+
```
30+
31+
Note: If you are using a Mac with a M1/M2 chip, you will need to install and run `espaloma` using [Rosetta](https://support.apple.com/en-au/HT211861) by using the following commands:
32+
2533
```bash
26-
$ conda install -c conda-forge "espaloma=0.3.2"
34+
CONDA_SUBDIR=osx-64 mamba create --name espaloma -c conda-forge "espaloma=0.3.2"
35+
mamba activate espaloma
36+
mamba config --env --set subdir osx-64
2737
```
2838

39+
This will ensure that any other packages installed in the `espaloma` will also use Rosetta.
40+
2941
# Example: Deploy espaloma 0.3.2 pretrained force field to arbitrary MM system
3042

3143
```python

0 commit comments

Comments
 (0)