Installation

To install the released stgp package from PyPI into your current Python environment:

pip install stgp

To reproduce the notebooks from the GitHub repository, you can also install the stGP environment from GitHub:

git clone https://github.com/YangLabHKUST/stGP.git
cd stGP
conda env create -f stGP.yml
conda activate stGP
pip install -e .

Normally the installation time will be about twenty minutes. The package has been tested on Linux (Ubuntu 22.04.5 LTS).