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.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018