Installing spatialstatsΒΆ

You can install the latest version of spatialstats from pip:

>>> pip install spatialstats

or you can clone the github repository and run:

>>> python setup.py install

spatialstats does not load any of its routines until the time of import (lazy loading), so the only installation requirement is numpy. This is to keep the flexibility and extensibility of spatialstats as a package of disconnected routines. Users may need to add additional dependencies after installation, such as

To install with dependencies, the user may run:

>>> pip install spatialstats[full]
>>> pip install spatialstats[cpu]
>>> pip install spatialstats[gpu]