How to install Matplotlib's basemap?

Klausos Klausos picture Klausos Klausos · Oct 8, 2015 · Viewed 42.1k times · Source

It is unclear to me how to install Matplotlib's Basemap on Windows. Maybe the question is straightforward, I need some help.

I followed this tutorial. As far as I understand, first, GEOS and PROJ4 should be installed, and lastly matplotlib-1.4.3.win-amd64-py2.7.exe should be executed.

I get stuck with GEOS. I downloaded source code of geos-3.5.0, "untarred" it, then I go to a Command Prompt, change directory to geos-3.5.0 and run this:

export d://test

but it does not work.

Answer

Leb picture Leb · Oct 8, 2015

Use this download for basemap on Windows.

It worked for me:

pip install basemap-1.0.8-cp34-none-win_amd64.whl

Assuming you're in right directory of course.