[Pythonmac-SIG] Framework Python and X11

Ned Deily nad at acm.org
Thu Mar 10 21:22:26 CET 2011


In article 
<AANLkTiks=y9Z2omUFSpEjwnB-AraivOXG1bVvy_JZs-U at mail.gmail.com>,
 Ben McClure <mcclure at hkl.hms.harvard.edu> wrote:
> The group I work with needs a Python with tkinter over X11 as well as
> wxPython.  wxPython requires a framework build of Python on Mac, and
> the current one I have is non-framework, using X11.  Is there a way of
> building a framework Python that still supports X11 tkinter?

The python.org installers for Mac OS X do not support linking to an X11 
tkinter.  The simplest solution might be to install a Python from 
MacPorts.  The current MacPorts Tk is an X11 Tk, its Pythons are 
framework builds, and it has its own wxPython ports.  (I have no 
personal experience with wxPython.)

If you install the base MacPorts, one command might install all you need:

$ sudo port py27-wxpython # or py26-wxpython or ..

http://www.macports.org/ports.php?by=name&substr=wxpython

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list