How do I enable geo libraries (e.g. GeoDjango) for use with Python?

Resolution

If your application requires geo libraries, experimental support for a handful of these libraries are available:

  • GDAL v1.11.1
  • Geos v3.4.2
  • Proj v4.8.0

To make these libraries available to your application, simply set the BUILD_WITH_GEO_LIBRARIES environment variable:

$ heroku config:set BUILD_WITH_GEO_LIBRARIES=1

During your next build, these libraries will be downloaded and installed.

https://devcenter.heroku.com/articles/python-c-deps#geodjango-application-libraries