A quick update on Mac backends: 1) Two others in my office use macports, python 2.6, mpl 99.1, and snowleopard. They have none of the issues I have with the GUI stuff. Most notably, their MacOSX backends work properly in both X11 and native Mac terminal. 2) I cannot follow up on WxPython or Qt4 for my PPC machine; installs failed for both. I'm working on it some more but have limited time to play around. 3) A recompile of python through fink using updated gcc/g++ (from 4.0 to 4.2) had no effect.
While I don't want to drag this thread on forever, I feel like some of this info is useful for the Mac/MPL community. I would love to hear from anyone else who has the OSX backend problem; it seems to be isolated to Fink. It seems like the bottom line is that depending on your install, some experimentation is required to determine which GUI backends work well or at all. On Tue, May 25, 2010 at 10:51 PM, Daniel Welling <dantwell...@gmail.com>wrote: > 2) In which case, it's not a framework install. Fink puts everything into > /sw/; there's nothing to do with pyton in /Library/Frameworks. > Thanks for the clarification; I'm tempted to get Python from source and try > this... > > -dw > > On Tue, May 25, 2010 at 10:41 PM, Michiel de Hoon <mjldeh...@yahoo.com>wrote: > >> >> > 1)The problem does manifest in the same manner through the normal python >> prompt. >> >> OK that is good to know. >> >> >> > 2) I'm not sure what is meant by a "framework install." Everything >> (except MPL 99.1.1) >> > was installed through fink. >> >> This is important. Check where python is installed. If 'which python' >> shows /Library/Frameworks/Python.framework/Versions/2.6/bin/python or >> something similar, you have a framework version. If on the other hand it >> shows /usr/bin/python, /usr/local/bin/python, or something similar, you >> don't have a framework version. I don't know what fink installs by default. >> If you don't have Python installed as a framework, some backends (including >> the MacOSX backend) will not interact properly with the window manager. This >> is a Mac peculiarity. If you build Python from source, you can specify to >> install a framework version by passing the --enable-framework option to the >> configure script. >> >> >> > 6) Although I use x11 and not the native Mac terminal, I'm not sure if >> this requires me to > install different packages for the gui stuff. Could >> you guys expand on this, please? >> >> Some backends go make use of X11 (e.g., the gtkcairo backend), others do >> not (e.g., the MacOSX backend). The MacOSX backend should work with both the >> native Mac terminal and with an X11 terminal. >> >> --Michiel. >> >> >
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users