I tried to install basemap 0.9.8 on an OS X system (PPC, 10.4.10), after installing matplotlib from the latest binary package (0.91.1). I receive the following error:
>[matplotlib/basemap-0.9.8]|2> import matplotlib.toolkits.basemap >--------------------------------------------------------------------------- >ImportError Traceback (most recent call last) > >/Users/mannucci/Documents/python/matplotlib/basemap-0.9.8/<ipython >console> in <module>() > >/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py > >in <module>() >----> 1 from basemap import __doc__, __version__ > 2 from basemap import * > >/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py > >in <module>() > 29 from matplotlib.cbook import is_scalar, dedent > 30 from shapelib import ShapeFile >---> 31 import _geos, pupynere > 32 > 33 # basemap data files now installed in >lib/matplotlib/toolkits/basemap/data > >/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/toolkits/basemap/pupynere.py > >in <module>() > 34 from numpy import ndarray, empty, array, ma, squeeze > 35 >---> 36 from dap.client import open as open_remote > 37 from dap.dtypes import ArrayType, GridType, typemap > 38 > >/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/dap/__init__.py > >in <module>() > 8 > 9 For more information about the protocol, please check >http://opendap.org. > 10 """ > 11 >---> 12 __import__('pkg_resources').declare_namespace(__name__) > >ImportError: No module named pkg_resources It seems that the dap package did not completely install. Is there a directory I should add to my sys.path? Thanks for your help! -Tony -- Tony Mannucci Supervisor, Ionospheric and Atmospheric Remote Sensing Group Mail-Stop 138-308, Tel > (818) 354-1699 Jet Propulsion Laboratory, Fax > (818) 393-5115 California Institute of Technology, Email > [EMAIL PROTECTED] 4800 Oak Grove Drive, http://genesis.jpl.nasa.gov Pasadena, CA 91109 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users