Installation ============ SpatialTis requires **Python >= 3.6**, it's recommended that you install it in a new environment. .. warning:: If you are using **python 3.9**, Ray doesn't provide a py39 wheel yet. You need to build it from source. Otherwise, Some of the parallel processing in SpatialTis will not work. pypi ---- Install the basic of spatialtis:: pip install spatialtis For the full features:: pip install spatialtis[all] # In some terminal environment you may try pip install 'spatialtis[all]' For windows user ----------------- Using `WSL2 on Windows 10 `_ might relief you from misery installation process. If run on Windows, you may find installation problem with following dependencies, please refer to their documentation for detail instructions. You can try install them via conda channels, or compile it from source on your machine: - `python-igraph `_ - `leidenalg `_ - `ray `_: You need to install the `Visual C++ Runtime `_ Complete installation ---------------------- If you want to save the visualization of SpatialTis to static images, extra dependencies are needed, please check `Export to static image `_. If you work in **Zepplin** or **Jupyter Lab**, please check `Working in notebook `_.