Installing GDAL for Ubuntu 20.04 No need to add ppa anymore sudo apt install gdal-bin libgdal-dev workon <env> pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==`gdal-config --version`
In case anyone's working on a dockerised application, here is an image you can use
lusimba/gdal-gis-intermediary:latest
It is built with Python3.8 and has Postgres binaries.