Installation
Using Anaconda or Miniconda (recommended)
Using conda (latest version recommended), SpecHomo is installed as follows:
Create virtual environment for SpecHomo (optional but recommended):
$ conda create -c conda-forge --name spechomo python=3 $ conda activate spechomo
Then install spechomo itself:
$ conda install -c conda-forge spechomo
This is the preferred method to install SpecHomo, as it always installs the most recent stable release and automatically resolves all the dependencies.
Using pip (not recommended)
There is also a pip installer for SpecHomo. However, please note that SpecHomo depends on some open source packages that may cause problems when installed with pip. Therefore, we strongly recommend to resolve the following dependencies before the pip installer is run:
cartopy
gdal
geopandas
matplotlib
numpy
pandas
pyproj
scikit-learn >=0.23.2
scikit-image
shapely
Then, the pip installer can be run by:
$ pip install spechomo
If you don’t have pip installed, this Python installation guide can guide you through the process.
Note
The SpecHomo package has been tested with Python 3.4+ and Python 2.7. It should be fully compatible to all Python versions from 2.7 onwards. However, we will continously drop the support for Python 2.7 in future.