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

Python is unable to locate GDAL #44

@wim-jan

Description

@wim-jan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions