Skip to content

Instantly share code, notes, and snippets.

View xiangyongcao's full-sized avatar
🎯
Focusing

Xiangyong Cao xiangyongcao

🎯
Focusing
View GitHub Profile
@xiangyongcao
xiangyongcao / pip-install-gdal.md
Created August 14, 2018 03:26 — forked from cspanring/pip-install-gdal.md
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: