You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to install earthkit into a fresh venv with
pip install earthkit
it fails with the error posted below. This happens because rasterio, which is a mandatory dependency for earthkit-transforms, fails. It seems to require GDAL to be installed.
Collecting rasterio (from earthkit-transforms>=0.3.4->earthkit==0.6.3)
Using cached rasterio-1.4.2.tar.gz (441 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
WARNING:root:Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
What are the steps to reproduce the bug?
Try pip install earthkit in a freshly created venv.
Version
latest
Platform (OS and architecture)
MacBook Pro, MacOS 13.6.1, Python 3.12.5
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered:
What happened?
When I try to install earthkit into a fresh venv with
pip install earthkit
it fails with the error posted below. This happens because
rasterio
, which is a mandatory dependency forearthkit-transforms
, fails. It seems to require GDAL to be installed.What are the steps to reproduce the bug?
Try
pip install earthkit
in a freshly created venv.Version
latest
Platform (OS and architecture)
MacBook Pro, MacOS 13.6.1, Python 3.12.5
Relevant log output
No response
Accompanying data
No response
Organisation
No response
The text was updated successfully, but these errors were encountered: