Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems while installing opendrift via PyPi (v1.11.2) #1275

Open
RicardoRibeiroRodrigues opened this issue Apr 12, 2024 · 1 comment
Open

Comments

@RicardoRibeiroRodrigues

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.

@Segato-Iago
Copy link

I'm having the same issue. Do you have any solutions? @gauteh @knutfrode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants