Matplotlib basemap no module named axes_grid1

advertisements

i have a problem after installing Basemap 1.0.6. I'm running a virtualenv, first a activated my virtualenv, went into my home directory and downloaded the latest Basemap version. Then i installed it via pip using:

pip install basemap-1.0.6.tar.gz

all works fine. then i exported my GEOS_DIR to /usr/local/ because my libgeos_c and geos_c.h stored there.

Then i tried to run the simpletest.py in the folder /home/fv/basemap-1.0.6/examples/, after that i got the error:

    Traceback (most recent call last):
  File "simpletest.py", line 1, in <module>
    from mpl_toolkits.basemap import Basemap
  File "/home/fv/virtualenv/20130426/lib/python3.3/site-packages/mpl_toolkits/basemap/__init__.py", line 31, in <module>
    from mpl_toolkits.axes_grid1 import make_axes_locatable
ImportError: No module named 'mpl_toolkits.axes_grid1'

im running centos,

i hope anyone can help me? :)


Suspect you have to upgrade (or install) your version of matplotlib.