Robert Kern wrote:

> Try running with pythonw.

That's probably not it -- as of MacPython 2.4, pythonw ands python are 
the same.

belinda thom wrote:
> And running w/pythonw does what it should :-).

OK, now I'm confused:

$ ls -l /Library/Frameworks/Python.framework/Versions/2.4/bin/python2.4
-rwxrwxr-x   1 root  admin  39936 Apr  7  2006 
/Library/Frameworks/Python.framework/Versions/2.4/bin/python2.4

$ ls -l /Library/Frameworks/Python.framework/Versions/2.4/bin/pythonw2.4
-rwxrwxr-x   1 root  admin  39936 Apr  7  2006 
/Library/Frameworks/Python.framework/Versions/2.4/bin/pythonw2.4

Those two look like the same binaries to me -- and diff tells me they are.

Are you sure you're running the same python with "python" and "pythonw"? 
Try running them on the command line alone and see what you get.

>    File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/matplotlib/backends/backend_wxagg.py", line  
> 63, in draw
>      self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None)
> MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the  
> wx.Bitmap

This looks like the error we usually get when you've built the wxAgg 
extension against a different version of wx than the one you're running. 
That's easy to do, as Apple has provided an old wx with it's Python, it 
is often found by default by the MPL build process.

Search this list for the way to fix that, or, if you really can't find 
it, I'll dig it up.

-Chris








-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to