Hi all,
I'm trying to set up matplotlib with basemap on CentOS 4.6 with python
2.3.4
I installed setuptools 0.6c7, then numpy 1.0.4, then matplotlib
0.91.1_r0, then basemap 0.9.9 (building and installing the GEOS library
from source). When I try to run the example simpletest.py script, I get
the following message:
/usr/lib/python2.3/site-packages/matplotlib-0.91.1_r0-py2.3-linux-i686.e
gg/pytz/__init__.py:29: UserWarning: Module matplotlib was already
imported from
/usr/lib/python2.3/site-packages/matplotlib-0.91.1_r0-py2.3-linux-i686.e
gg/matplotlib/__init__.pyc, but
/usr/lib/python2.3/site-packages/basemap-0.9.9-py2.3-linux-i686.egg is
being added to sys.path
from pkg_resources import resource_stream
Traceback (most recent call last):
File "simpletest.py", line 1, in ?
from matplotlib.toolkits.basemap import Basemap
ImportError: No module named basemap
Any ideas what might have gone wrong? I was expecting basemap to
install under /site-packages/matplotlib/toolkits but it installed under
a site-package of it's own.
Thanks,
Rich