Installation

Requirements

To use mGrowthCtrl, you will need Python and a set of required packages. For optimal compatibility and performance, we recommend using the following minimum versions:

The required packages will be installed automatically during the installation process according to pyproject.toml.

Install mGrowthCtrl

To install the package locally, clone the repository and use pip in a virtual environment:

git clone https://gitlab.com/ComputationalScience/mgrowthctrl.git
cd mgrowthctrl

python -mvenv .venv
source .venv/bin/activate

pip install -e .

For optional features (neural controllers and MCMC), install with extras:

pip install -e ".[torch,mcmc]"

Alternatively, you can use the uv package manager and follow the instructions in their documentation.