Installation Guide#

HydroMT-SFINCS is available on PyPI and conda-forge. If you want to use HydroMT-SFINCS to build your own model, you can install it using the following steps.

Prerequisite: python installation#

You’ll need Python 3.11 or greater and a package manager such as conda, mamba or others in order to use HydroMT-SFINCS. These package managers help you to install (Python) packages and manage environments such that different installations do not conflict.

If you do not yet have such a package manager, we recommend using either:

Note

We recommend using the mamba package manager. However, in the commands below you can exchange mamba for conda.

If you already have a python & conda installation but do not yet have mamba installed, you can install it into your base environment using:

$ conda install mamba -n base -c conda-forge

Installation#

HydroMT-SFINCS is available from pypi and conda-forge. We recommend installing from conda-forge in a new conda environment.

Install HydroMT-SFINCS in an existing environment#

To install HydroMT-SFINCS in an existing environment execute the command below where you replace <environment_name> with the name of the existing environment. Note that if some dependencies are not installed from conda-forge but from pip or other channels the installation may fail.

$ mamba install -c conda-forge hydromt_sfincs -n <environment_name>

Developer install#

To be able to test and develop the HydroMT-SFINCS package see instructions in the Developer installation guide.