Re: [Matplotlib-users] ImportError- No toolkits.basemap

2009-10-03 Thread Christoph Gohlke
Try changing the line

from matplotlib.toolkits.basemap import Basemap

to

from mpl_toolkits.basemap import Basemap

- Christoph

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] ImportError- No toolkits.basemap

2009-10-03 Thread Ross Anderson
Hi all,
Here's what I get:
  File "F:\demo.py", line 34, in 
from matplotlib.toolkits.basemap import Basemap
ImportError: No module named toolkits.basemap

I'm on a brand new python 2.6 install on windows. I then installed numpy 1.3
for 2.6, matplotlib .99.1 for 2.6, then basemap .99.4 for 2.6, all from
their binary executable forms. Then I ran
http://en.literateprograms.org/Drawing_on_map_projections_%28Python%29 and
got the above error.
Searching for this error I've found possible problems with dependencies,
which were to be fixed by .99, and problems with .egg installations missing
vital components, but I installed everything from .exes. Ideas? FYI I'm new
to python.

Thanks
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users