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.
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.
Install as user into your home directory (recommended)
Installing pyABC into your system’s Python distribution can be problematic as you might not want to change your system’s Python installation or you don’t have root rights. The recommended alternative is to install pyABC into your home directory with:
pip install --user pyabc
If you want the bleeding edge version, install directly from github:
pip install git+https://github.com/icb-dcm/pyabc.git
If you want to upgrade from a previous pyABC version, use:
pip install --upgrade pyabc
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
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 https://repo.anaconda.com/archive.
Miniconda provides an alternative, minimal installer for conda, including only conda, Python, and some core and useful packages. Install the latest version via:
pyABC has various optional dependencies, see setup.cfg.
pyABC optionally uses git to store commit hashes in its database,
leveraging the gitpython package. This feature can be installed via
pip install pyabc[git].