Skip to content

Running STIR on Google Colab

Kris Thielemans edited this page Mar 18, 2026 · 1 revision

Running STIR on Google Colab

As STIR is on conda-forge, the following should work. See https://pypi.org/project/condacolab/ for more information.

First cell (run this and wait till the kernel restarts)

!pip install -q condacolab
import install_miniforge
install_miniforge.install()

Second cell

!mamba install conda-forge::stir
import stir

If you see an error on pinning, please check https://github.com/conda-incubator/condacolab/issues/74

Clone this wiki locally