From: BG <bar...@gm...> - 2012-01-31 16:05:42
|
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 On Jan 31, 2012, at 10:06 AM, Benjamin Root wrote: > > > On Sunday, January 29, 2012, BG <bar...@gm...> wrote: > > Hello all, > > > > I'm new to using Matplotlib. I am on Ubuntu 10.4, and I installed through apt-get. I then downloaded and installed basemap according to the instructions on the basemap site. However, when I run simpletest.py from the basemap package, I get an error "ImportError: No module named axes_grid1". I thought this was a basemap problem at first, but I can reproduce this error using matplotlib tests. Am I doing something wrong? As I understand it, axes_grid1 is a set of helper classes which comes with Matplotlib. Does it need to be installed? Thanks! > > > > -BG > > > > This is likely a packaging bug by Ubuntu. Can you give us the full log from the matplotlib tests? > > Ben Root |