Open dannyvelezv opened 2 years ago
Dear,
I've tried to browse the error and it seems to be a known issue with rasterio weel on Windows. Here is a possible solution from the original documentation: https://rasterio.readthedocs.io/en/latest/installation.html#windows
I hope this will help.
Daniele
Hi, I am getting the following error, I will be gratefull if you can help me to solve it. Thanks
C:\Program Files\QGIS 3.22.6>python -m pip install pysal ... "Collecting rasterio Using cached rasterio-1.2.10.tar.gz (2.3 MB) 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] INFO:root:Building on Windows requires extra options to setup.py to locate needed GDAL files. More information is available in the README. 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. 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."