Skip to content

Installation

Basic installation

  • pip install dfm_tools
  • python 3.11 is recommended, python>=3.9 is required (more info), python 3.13 not yet supported (more info)
  • download and install Anaconda from anaconda.com
  • open Anaconda prompt
  • conda create --name dfm_tools_env python=3.11 git spyder -c conda-forge -y (git and spyder are optional)
  • conda activate dfm_tools_env
  • install latest dfm_tools release (stable): pip install dfm_tools -U (the -U is for updating)
  • alternatively install most recent dfm_tools version from github (might be unstable): python -m pip install git+https://github.com/Deltares/dfm_tools
  • to remove environment when necessary: conda remove -n dfm_tools_env --all

Potential git/conda issues with installation

  • long paths error? Check this Github issue
  • OpenSSL error? Fix your conda base env by doing this or maybe this. Let us know if you encounter this issue.