Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Python is unable to locate GDAL #44

Open
wim-jan opened this issue Aug 21, 2017 · 1 comment
Open

Python is unable to locate GDAL #44

wim-jan opened this issue Aug 21, 2017 · 1 comment

Comments

@wim-jan
Copy link

wim-jan commented Aug 21, 2017

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
Copy link
Author

wim-jan commented Aug 24, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant