Installation¶
Requirements¶
Installing the garnett package requires Python 3.5+, numpy, and rowan.
With conda¶
To install the package with conda, execute
$ conda install -c conda-forge garnett
To upgrade, execute
$ conda update garnett
Note
This is the recommended installation method.
With pip¶
To install the package with the package manager pip, execute
$ pip install garnett --user
To upgrade the package, simply execute the same command with the –upgrade option.
$ pip install garnett --user --upgrade
With git¶
Alternatively you can clone the git repository and use the setup.py
to install the package.
git clone https://github.com/glotzerlab/garnett.git
cd garnett
python setup.py install --user