On Tue, Jan 31, 2012 at 10:05 AM, BG <barterguy8675309@gmail.com> wrote:
Here are the outputs from running a basemap test and a test from the matplotlib examples.  Thank you for your help.

TEST FROM MATPLOTLIB EXAMPLES:

~/Downloads/matplotlib-1.1.0/examples/axes_grid$ python simple_axesgrid.py
Traceback (most recent call last):
  File "simple_axesgrid.py", line 2, in <module>
    from mpl_toolkits.axes_grid1 import ImageGrid
ImportError: No module named axes_grid1

TEST FROM BASEMAP EXAMPLES:

~/Downloads/basemap-1.0.2/examples$ python simpletest.py
Traceback (most recent call last):
  File "simpletest.py", line 1, in <module>
    from mpl_toolkits.basemap import Basemap
  File "/usr/local/lib/python2.6/dist-packages/mpl_toolkits/basemap/__init__.py", line 31, in <module>
    from mpl_toolkits.axes_grid1 import make_axes_locatable
ImportError: No module named axes_grid1

BG

As Jae-Joon mentioned, Ubuntu 10.04 has v0.99.1 from the repositories.  I thought you were saying that the tests that come with the package were failing.  Instead, it looks like you downloaded/extracted the tarball and were trying the examples in it.  Those examples from v1.1.0 require the mpl v1.1.0.  Also that version of basemap also requires at least mpl v1.0.x (IIRC).  Either use an earlier version of basemap from the repositories, or install from source (information on how to do that is available in the FAQ section of the online documentation).

Ben Root