KURT PETERS 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:
>   

Kurt:  As you discovered, you'll need basemap 0.99 to use with 
matplotlib 0.98.0.  I only have a source tarball on the sf site now, and 
you apparently are looking for the windows binary installer.  I hope to 
have that up sometime next week - problem is that the person whose PC  I 
use to build it is on vacation now.    Perhaps someone will step up and 
build a basemap windows installer before then, or I can talk you through 
how to build one yourself with MingW32.

BTW;  with the new basemap you'll have to use

from mpl_toolkits.basemap import Basemap

instead of the old

from matplotlib.toolkits.basemap import Basemap

-Jeff
> 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
>
> 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:
>
> C:\Python25\Lib\basemap-0.99>c:\Python25\python.exe setup.py install
> checking for GEOS lib in /usr/local ....
> checking for GEOS lib in /sw ....
> checking for GEOS lib in /opt ....
> checking for GEOS lib in /opt/local ....
> checking for GEOS lib in C:\Documents and Settings\kpeters ....
> 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()
>
>   I hope no one else has this pain when upgrading.
> Regards,
> Kurt
> ----Original Message Follows----
> From: "John Hunter" <[EMAIL PROTECTED]>
> To: "KURT PETERS" <[EMAIL PROTECTED]>, "Charlie Moad" <[EMAIL PROTECTED]>
> CC: matplotlib-users@lists.sourceforge.net
> Subject: Re: [Matplotlib-users] Update to Matplotlib and Numpy producing 
> error
> Date: Mon, 2 Jun 2008 11:01:48 -0500
>
> On Mon, Jun 2, 2008 at 10:41 AM, KURT PETERS <[EMAIL PROTECTED]> wrote:
>
>  >  File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_gtk.py",
>  > line 6, in <module>
>  >    import gobject
>  > ImportError: No module named gobject
>
> This is a problem with our installer since the default backend we have
> set is GTKAgg (we usually set it to GTKAgg).  Fortunately, it is
> relatively easy for you to fix:.  Edit
> site-packages/matplotlib/mpl-data/matplotlib and change the 'backend :
> GTKAgg' line to
>
>    backend : TkAgg
>
> Charlie -- we will need to roll out a new binary builds which fix this
> ASAP because this will bite all the win32 users who don't have a
> custom rc, which is most of them I suspect. We'll also need to check
> the settings in the 91.3 release.  My apologies for not testing this
> as you requested (I did test on linux though).  You probably will also
> want to check the default backend for the OS X eggs too.....
>
> 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
>   


-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


-------------------------------------------------------------------------
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