matplotlib / basemap

Plot on map projections (with coastlines and political boundaries) using matplotlib
MIT License
779 stars 392 forks source link

install basemap in Google colab #535

Closed SalvatoreRa closed 2 years ago

SalvatoreRa commented 2 years ago

Hi,

I have tried to install basemap in colab, I tested some alternatives but none of them worked.

I tried also the proposed solution find in StackOverflow, without success

https://stackoverflow.com/questions/54613992/how-to-install-and-use-basemap-on-google-colab

How I can install basemap in Colab?

best

molinav commented 2 years ago

Hi @SalvatoreRa!

Can you try to install it with the solution that I posted here? https://stackoverflow.com/a/70624545/13312069

Since version 1.3.0 we have precompiled wheels in PyPI, so you can install basemap in Google Colab as any other package:

!pip install basemap

In case you need the high-resolution datasets, you need to install them manually:

!pip install basemap-data-hires
SalvatoreRa commented 2 years ago

Hi @SalvatoreRa!

Can you try to install it with the solution that I posted here? https://stackoverflow.com/a/70624545/13312069

Since version 1.3.0 we have precompiled wheels in PyPI, so you can install basemap in Google Colab as any other package:

!pip install basemap

In case you need the high-resolution datasets, you need to install them manually:

!pip install basemap-data-hires

thanks, It worked well

molinav commented 2 years ago

Perfect! Then I think we can close this issue.