On Mon, Jun 2, 2008 at 12:10 PM, KURT PETERS <[EMAIL PROTECTED]> wrote:
> Thanks,
>  I made that change after an unfruitful attempt at installing gtk, which
> should have worked in my estimation.  Now, at least I get by that original
> point.
>
>  NOW basemaps won't work any more!  When I run, I get:
>
> Traceback (most recent call last):
>  File "C:\Documents and
> Settings\kpeters\smworkspace\parsesmExcelFile\src\readParse\ExcelClass.py",
> line 13, in <module>
>   from matplotlib.toolkits.basemap import Basemap as Basemap
> ImportError: No module named toolkits.basemap

One of the api changes is that the import line for basemap (and all
matplotlib toolkits) is

  import mpl_toolkits.basemap

rather  than

  import matplotlib.toolkits.basemap

> I'm supposing that I NOW have to reinstall basemaps. The basemaps installer
> won't work for me any more though  :-(
> This is that message I get when trying to reinstall basemaps:
>Traceback (most recent call last):
> File "setup.py", line 80, in <module>
>  geos_include_dirs=[os.path.join(GEOS_dir,'include'),numpy.get_include()]
> File "C:\Python25\lib\ntpath.py", line 90, in join
> assert len(path) > 0
> TypeError: object of type 'NoneType' has no len()

This is an error that you will get if you are trying to install
basemap yourself from source and the GEOS_DIR is set to None (Jeff, a
more helpful error would be good here).   I think we are still waiting
on a binary installer for basemap.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

Reply via email to