Skip to content

Installation

sbml2cellml requires python 3.13 or 3.14 and is available from pypi. The dependencies python-libsbml and libcellml ship wheels for Linux, macOS and Windows.

Windows

Windows is currently not supported: the Windows wheels of libcellml 0.7.1 contain ARM64 binaries, which do not load on x64 Windows (cellml/libcellml#1460). Linux and macOS are tested.

With uv

uv add sbml2cellml

or into an existing virtual environment

uv pip install sbml2cellml

With pip

pip install sbml2cellml

Simulators

The simulators are optional, see Simulation: roadrunner simulates the SBML models, libopencor the CellML models. The simulate extra adds libopencor together with pandas and matplotlib for the timecourse results and plots of sbml2cellml.simulate:

pip install "sbml2cellml[simulate]"

roadrunner

roadrunner is available from pypi:

pip install libroadrunner

libopencor

libopencor is available from pypi and installed with the simulate extra. Wheels exist for python 3.12 to 3.14 on Linux (x86_64, aarch64), macOS (Intel, Apple silicon) and Windows. Without libopencor everything except sbml2cellml.simulate works.

Running the SBML test suite

The testsuite extra adds libroadrunner and requests for the sbml2cellml-testsuite command:

pip install "sbml2cellml[testsuite]"

It includes the simulate extra and with it libopencor.

Development version

The current state of the develop branch is installed from GitHub:

pip install git+https://github.com/matthiaskoenig/sbml2cellml.git@develop

To work on the repository itself see Development.