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¶
or into an existing virtual environment
With pip¶
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:
roadrunner¶
roadrunner is available from pypi:
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:
It includes the simulate extra and with it libopencor.
Development version¶
The current state of the develop branch is installed from GitHub:
To work on the repository itself see Development.