mapbox / tilesets-cli

CLI for interacting with the Mapbox Tilesets API and Mapbox Tiling Service
https://docs.mapbox.com/mapbox-tiling-service
BSD 2-Clause "Simplified" License
124 stars 26 forks source link

Install error on Windows machine for rasterio #115

Open petermc129 opened 3 years ago

petermc129 commented 3 years ago

Hello, I am attempting to install and running into the error below. python version 3.7.3

ERROR: Complete output from command 'C:\Users\xx\AppData\Local\Continuum\anaconda3\python.exe' 'C:\Users\xx\AppData\Local\Continuum\anaconda3\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'C:\Users\xx\AppData\Local\Temp\tmp9hjbg_ow': ERROR: 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.

ERROR: Command "'C:\Users\xx\AppData\Local\Continuum\anaconda3\python.exe' 'C:\Users\xx\AppData\Local\Continuum\anaconda3\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'C:\Users\xx\AppData\Local\Temp\tmp9hjbg_ow'" failed with error code 1 in C:\Users\xx\AppData\Local\Temp\pip-install-hcrhz_xh\rasterio

wrdaigle commented 3 years ago

I am also seeing this issue with my Windows 10 machine. Any progress on this issue?

tapczan1337 commented 3 years ago

See my answer: https://github.com/mapbox/tilesets-cli/issues/118#issuecomment-842937956