Installing basemap on Mac / Python : <p>I'm having trouble to get the basemap to work in Python in my Mac.</p>

<p>I keep receiving:</p>

<pre><code>    from mpl_toolkits.basemap import basemap
ImportError: No module named basemap
</code></pre>

<p>What I did:</p>

<pre><code>brew install gdal
brew install gets
export GEOS_DIR=/usr/local/Cellar/geos/3.4.2/
basemap-1.0.7 $ python setup.py install
</code></pre>

<p>I also tried:</p>

<pre><code>basemap-1.0.7 $ cd geos-3.3.3
basemap-1.0.7/geos-3.3.3 $ export GEOS_DIR=~/
basemap-1.0.7/geos-3.3.3 $ ./configure --prefix=$GEOS_DIR
basemap-1.0.7/geos-3.3.3 $ make
basemap-1.0.7/geos-3.3.3 $ make install
basemap-1.0.7/geos-3.3.3 $ cd ..
basemap-1.0.7 $ python setup.py install
</code></pre>

<p>None of them worked for me. 
How can I get this package to work on a MacOS Sierra?</p>
