Problem regarding GDAL for natcap installation from python

When installing natcap.invest in python, a problem appears regarding GDAL as it appears in the installation guide:

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for GDAL
Running clean for GDAL

However, I apply the suggestions in the guide but the same error remains. Does anyone have a suggestion on how to solve this problem?

Hi @AuroraPonce , sorry for the delayed response.

It is recommended to install natcap.invest using the suggested method described here: Installing the InVEST Python Package — InVEST 3.14.1.post175+gf686b84.d20240501 documentation

Does that work?

Using pip install natcap.invest often leads to the error you described and is not recommended.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.