Installation

For Linux/MacOS users

Step 1:

Prepare conda environment for stLearn

conda create -n stlearn python=3.8
conda activate stlearn

Step 2:

conda config --add channels conda-forge
conda install jupyterlab louvain ipywidgets

Step 3:

pip install -U stlearn

For Windows users

Step 1:

Prepare conda environment for stLearn

conda create -n stlearn python=3.8
conda activate stlearn

Step 2:

conda install jupyterlab ipywidgets

Step 3:

Access to:

Download 2 files: python_igraph‑0.7.1.post6‑cp38‑cp38‑win_amd64.whl and louvain‑0.6.1‑cp38‑cp38‑win_amd64.whl

You have to change to downloaded files directory and install it:

pip install python_igraph‑0.7.1.post6‑cp38‑cp38‑win_amd64.whl
pip install louvain‑0.6.1‑cp38‑cp38‑win_amd64.whl

Step 4:

If you have previous version of stLearn, please uninstall it.

pip uninstall stlearn

Step 5:

pip install -U stlearn