This page is the docs-site version of the installation guide. It is the canonical installation page for the documentation site.
- For exact MCP client syntax, see Configuration Guide.
- For your first workflow after setup, see Quick Start.
- For installation failures, see Troubleshooting.
- Python 3.11-3.13 (3.12 recommended)
- 8GB+ RAM (16GB+ for large datasets)
- macOS, Linux, or Windows
# venv
python3 -m venv venv
source venv/bin/activate # macOS/Linux
# venv\Scripts\activate # Windows
# or conda
conda create -n chatspatial python=3.12
conda activate chatspatialRecommended: use uv for dependency resolution
# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install all major methods
uv pip install chatspatial[full]Why
uv? ChatSpatial depends on a large scientific Python stack. Standardpipcan fail on deep dependency resolution;uvis more reliable for this environment.
| Option | Command | Use when |
|---|---|---|
| Full | uv pip install chatspatial[full] |
You want the broadest method coverage |
| Standard | uv pip install chatspatial |
You only need core functionality |
Alternative: pip
pip install --upgrade pip
pip install chatspatial[full]If you hit resolution-too-deep, switch to uv.
- Activate your environment.
- Get the absolute Python path:
which python- Register ChatSpatial using this command shape:
/absolute/path/to/python -m chatspatial server
- Restart your client after configuration changes.
For exact client-specific syntax, use the Configuration Guide.
python -c "import chatspatial; print(f'ChatSpatial {chatspatial.__version__} ready')"
python -m chatspatial server --helpIf both commands work, continue to Quick Start.
Not available: SingleR, PETSc
Use instead: Tangram, scANVI, CellAssign for annotation; CellRank works without PETSc.
rm -rf venv
python3.12 -m venv venv
source venv/bin/activate
uv pip install chatspatial[full]For RCTD, SPOTlight, CARD, CellChat, SPARK-X, scType, Numbat, and SCTransform:
# Install R 4.4+
Rscript install_r_dependencies.Rgit clone https://github.com/QIFEIDKN/STAGATE_pyG.git
cd STAGATE_pyG && python setup.py install- Configuration Guide — exact client setup
- Quick Start — first successful analysis
- Troubleshooting — fix install or runtime issues