While executing "pip install opendrift" got the error:
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.
Ran the command "sudo apt-get install libgdal-dev" to install the gdal-binary and dev packages
Tried to run "pip install opendrift" again, got the error:
Exception: Python bindings of GDAL 3.8.5 require at least libgdal 3.8.5, but 3.4.1 was found
It seems that the bindings used cannot be downloaded via ubuntu apt, as it uses a latest GDAL version. We had planned to add opendrift as a dependency in a library that we are developing.
On our machine we were able to fix the problem locking GDAL version to 3.4.1.
On 22.04.1-Ubuntu and Python 3.10.12.
While executing "pip install opendrift" got the error:
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.
Ran the command "sudo apt-get install libgdal-dev" to install the gdal-binary and dev packages
Tried to run "pip install opendrift" again, got the error:
Exception: Python bindings of GDAL 3.8.5 require at least libgdal 3.8.5, but 3.4.1 was found
It seems that the bindings used cannot be downloaded via ubuntu apt, as it uses a latest GDAL version. We had planned to add opendrift as a dependency in a library that we are developing.
On our machine we were able to fix the problem locking GDAL version to 3.4.1.