Skip to content

Installation

Requirements

  • Python 3.10–3.13
  • A Jupyter environment (JupyterLab 4+ recommended)

Basic installation

pip install sclab

Most workflows require Scanpy. Install it alongside SCLab:

pip install "sclab[scanpy]"

With JupyterLab

pip install "sclab[jupyter]"

All optional dependencies at once

pip install "sclab[scanpy,jupyter]"

Development installation (uv)

If you are working on SCLab itself, clone the repository and install with uv:

git clone https://github.com/umbibio/sclab.git
cd sclab
uv sync --all-groups

Optional: R dependencies

Some features require R:

  • Differential expressionpseudobulk_edger, pseudobulk_limma
  • Imputation — ALRA

See the R Setup guide for instructions.


Verify installation

import sclab
print(sclab.__version__)