Hello Community!
We know folks have been running into issues with the InVEST Python API so we wanted to make an announcement we could pin. The errors some are experiencing show up as TaskGraph related errors, or you may even see errors related to sqlite
. The sqlite
package is indeed the culprit here (specifically sqlite==3.49.1
) and ships standard with Python. To work around these issues in your conda / mamba environments you can:
- Delete the
taskgraph_cache
directory from the workspace. - In the conda/mamba environment you are using to run InVEST, downgrade
sqlite
to3.48.0
. (conda install -c conda-forge sqlite<3.49.1
) - Try running the model again.
Sorry for this inconvenience!
~ NatCap Software