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


My Python project requires one of GDAL, Geos or Proj to be installed.


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.