Thursday, April 25, 2019

How-to: Install cartopy on Ubuntu 16.04 using pip3

Cartopy is a Python package designed to make drawing maps for data analysis and visualisation as easy as possible.

It is a python package. Hence, the best way to install is by using pip. Here is how on Ubuntu 16.04

$ # install geos
$ sudo apt install libgeos++-dev
$ # install proj
$ sudo apt install libproj-dev

Install cartopy
$ # clone github repo
$ git clone
$ # cd ke repo
$ cd cartopy
$ # install from source
$ python3.6 install --user

In that case, I used Python 3.6 in user environment, not root.
Related Posts Plugin for WordPress, Blogger...