Natcap.invest python version

Hi @Monika , the latest natcap.invest (3.14.1) should be compatible with Python 3.11.

I was able to create a conda environment that works using the following (you may substitute conda for mamba if you prefer)

mamba create -p ./env-py311 "python=3.11"
mamba activate ./env-py311
mamba install natcap.invest -c conda-forge
Python 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:40:50) [MSC v.1937 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import natcap.invest
>>> from osgeo import gdal
>>> print(natcap.invest.__version__)
3.14.1
>>> print(gdal.__version__)
3.5.3

I guess I would recommend you start with a fresh new environment and see if it will work for you.