I just built matplotlib and basemap from source on a RHEL system, with  
EPD as my base Python installation.

The build procedure for matplotlib was fairly straightforward, as was  
basemap (once I read Jeff's documentation on installing).

However, once I try to import basemap, I get an error about dbflib  
(ipython session below):

In [1]: from mpl_toolkits.basemap import Basemap
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call  
last)

/home/shake/losspager/1.15/<ipython console> in <module>()

/usr/local/epd/lib/python2.5/site-packages/mpl_toolkits/basemap/ 
__init__.py in <module>()
      36 from matplotlib.lines import Line2D
      37 from matplotlib.transforms import Bbox
---> 38 import pyproj, sys, os, math, dbflib
      39 from proj import Proj
      40 import numpy as np

ImportError: No module named dbflib

Where is dbflib supposed to be?

Thanks,

Mike

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to