michaelaye / nbplanetary

A nbdev-based approach to create a core library for planetarypy
https://michaelaye.github.io/nbplanetary/
MIT License
7 stars 1 forks source link

GDAL required for pip install to succeed #58

Open cjtu opened 6 months ago

cjtu commented 6 months ago

On Ubuntu 22.04 without a system-wide gdal installation, pip install planetarypy fails at gdal:

...
      gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'

      Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.
      [end of output]

Maybe add a link to how to get gdal in the installation instructions?

Alternatively, pip installing planetarypy into a conda env after conda install -c conda-forge gdal also works.