Skip to content

Instantly share code, notes, and snippets.

View xiashenzhen's full-sized avatar
🏠
Working from home

xiashenzhen

🏠
Working from home
  • Nanjing University && The First Institute of Oceanography,MNR
  • China Chengdu
View GitHub Profile
@xiashenzhen
xiashenzhen / pip-install-gdal.md
Created November 15, 2019 10:57 — 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: