Last active
December 4, 2021 01:22
-
-
Save junzis/36fee36acd7cadfdf1c01c06d97f4947 to your computer and use it in GitHub Desktop.
install basemap quickly on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libgeos-3.X.X | |
sudo apt-get install libgeos-dev | |
pip install --user https://github.com/matplotlib/basemap/archive/master.zip |
Yeah, I agree, switch cartopy which same functionality.
I used anaconda; it works ok on the local machine; however, it gives different frustrating errors on the CI. I am considering switching to cartopy
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist was created quite a long time ago.
I recommend using anaconda in order to install
basemap
properly.Or even better, you should consider switching to
cartopy
, which is more powerful thanbasemap
. It can also be easily installed using anaconda.