cyberdelia / heroku-geo-buildpack

Geo libraries for Heroku
https://github.com/heroku/heroku-geo-buildpack
113 stars 135 forks source link

Python is unable to locate GDAL #44

Open wim-jan opened 7 years ago

wim-jan commented 7 years ago

I've added the buildpack to my Heroku app as followed:

$ heroku buildpacks
=== foobar Buildpack URLs
1. https://github.com/cyberdelia/heroku-geo-buildpack.git
2. heroku/python

A deploy works correctly without errors but for some reason my Django app is unable to find GDAL, it returns the following error: app[web.1]: django.core.exceptions.ImproperlyConfigured: OSMGeoAdmin is not usable without GDAL libs installed

A quick check via Heroku CLI confirms that GDAL can't be found:

$ heroku run python
>>> from django.contrib.gis import gdal
>>> gdal.HAS_GDAL
False

Running on heroku-16 in the EU

wim-jan commented 7 years ago

Ok, I'm guessing this has something to do with #43. Go ahead and close this issue 😃