I'm seeing the following error with basemap-0.99.3 on Windows. It was
installed using the binary installer from sourceforge (as were Numpy
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
Type "help", "copyright", "credits" or "license" for more information.
from mpl_toolkits import basemap
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python25\Lib\site-packages\mpl_toolkits\basemap\__init__.py", line 34
, in <module>
import pyproj, sys, os, math, dbflib
ImportError: No module named dbflib
From a quick look at the setup.py in SVN (around line 170) it seems
that shapelib and dbflib might be installed on the machine where the
installer is built and "provide_pyshapelib == 'auto'" is True during
the build process?