Skip to content

Instantly share code, notes, and snippets.

View ausnet-bwang-zz's full-sized avatar

ausnet-bwang-zz

View GitHub Profile
@cspanring
cspanring / pip-install-gdal.md
Last active August 24, 2024 12:07
Installing GDAL in a Python virtual environment

Installing GDAL in a Python virtual environment

Get gdal development libraries:

$ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
$ sudo apt-get update
$ sudo apt-get install libgdal-dev

Create and activate a virtual environment: