Install und Upgrade


This package requires Python 3.8 or later. The package is continuously tested on Linux, and in parts on iOS, via GitHub Actions.

While many parts of the package should work on Microsoft Windows as well, in particular the multi-core parallelizations rely on forking, which won’t be available. Still, the main development focus is on Linux.

My system’s Python distribution is outdated, what now?

Several Python distributions can coexist on a system. If you don’t have access to a recent Python version via your system’s package manager (may be the case for old systems), we recommend to install the latest version of the Anaconda Python 3 distribution. See also: Installing Anaconda on a Cluster environment.

PIP Installation

Install with root rights into you system’s Python distribution

The package can be installed via pip.:

pip install pyabc

into your system’s Python distribution. This requires usually root access.

GIT Installation

If you want the bleeding edge version, install directly from github:

pip install git+


If you want to upgrade from a previous pyABC version, use:

pip install --upgrade pyabc

instead of pip install. You can also consult the pip documentation on how to manage packages. If you installed pyABC into your home directory with pip install --user pyabc, then upgrade also with the --user flag:

pip install --upgrade --user pyabc

Installing Anaconda on a Cluster environment

To install Anaconda, run:


and follow the installation guide. Replace the “2021.11” by the most recent version of Anaconda, see

Miniconda provides an alternative, minimal installer for conda, including only conda, Python, and some core and useful packages. Install the latest version via:


Optional dependencies

pyABC has an optional interface to the R language. To enable it install pyabc via pip install pyabc[R]. All Python based features will work just fine if R is not installed. See also pyABC’s external API.

pyABC optionally uses git to store commit hashed in its database leveraging the gitpython package. This feature can be installed via pip install pyabc[git].