Installation#

PyBaMM is available on GNU/Linux, MacOS and Windows. It can be installed using pip or conda, or from source.

Using pip#

PyBaMM can be installed via pip from PyPI

GNU/Linux and Windows#

pip install pybamm

macOS#

brew install sundials && pip install pybamm

Using conda#

PyBaMM is part of the Anaconda distribution and is available as a conda package through the conda-forge channel

conda install -c conda-forge pybamm

Optional solvers#

Following GNU/Linux and macOS solvers are optionally available:

Full installation guide#

Installing a specific version? Installing from source? Check the advanced installation pages below