-
Notifications
You must be signed in to change notification settings - Fork 115
Description
Hi, im receiving this error when trying to download the rasterstats package.
(UHI_NJ) C:\Users\ninas>python -m pip install rasterstats
Collecting rasterstats
Using cached rasterstats-0.20.0-py3-none-any.whl.metadata (4.2 kB)
Requirement already satisfied: affine in .\UHI_NJ\Lib\site-packages (from rasterstats) (2.4.0)
Requirement already satisfied: click>7.1 in .\UHI_NJ\Lib\site-packages (from rasterstats) (8.3.1)
Requirement already satisfied: cligj>=0.4 in .\UHI_NJ\Lib\site-packages (from rasterstats) (0.7.2)
Collecting fiona (from rasterstats)
Using cached fiona-1.10.1.tar.gz (444 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
╰─> [1 lines of output]
CRITICAL:root: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.
ERROR: Failed to build 'fiona' when getting requirements to build wheel