pygeoapi icon indicating copy to clipboard operation
pygeoapi copied to clipboard

"Install in 5 minutes" instructions stops with error: A GDAL API version must be specified.

Open pa5cal opened this issue 1 year ago • 2 comments

Description Following the "Install in 5 minutes" instructions literally doesn't result in a working installation. There's a missing dependency GDAL API version.

Steps to Reproduce

python -m venv pygeoapi
cd pygeoapi
Scripts\activate.bat
git clone https://github.com/geopython/pygeoapi.git
cd pygeoapi
pip3 install -r requirements.txt

Expected behavior This should install pygeoapi without errors.

Screenshots/Tracebacks

 C:\Users\.......:
  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.

Environment

  • OS: Windows Server 2019 Standard
  • Python version: Python 3.7.4
  • pygeoapi version: Latest

Additional context The mentioned README does not contain any further information how to create the required extra option.

pa5cal avatar Aug 04 '23 15:08 pa5cal

@pa5cal thank you for reporting this. Does the issue still persist in the latest version?

doublebyte1 avatar Jan 03 '24 21:01 doublebyte1

@doublebyte1 thank you for asking. I am now using pygeoapi via Docker, as the installation and usage worked smoothly without any further difficulties.

pa5cal avatar Jan 05 '24 07:01 pa5cal

This Issue has been inactive for 90 days. As per RFC4, in order to manage maintenance burden, it will be automatically closed in 7 days.

github-actions[bot] avatar Apr 07 '24 03:04 github-actions[bot]

As per RFC4, this Issue has been closed due to there being no activity for more than 90 days.

github-actions[bot] avatar Apr 14 '24 03:04 github-actions[bot]