python ImageTk.PhotoImage - segfault python ImageTk.PhotoImage - segfault tkinter tkinter

python ImageTk.PhotoImage - segfault


If you are not using Apple's Tcl/Tk, try running otool -L on _imagingtk.so to see whether it is looking for its shared libraries in /System/Library. It should be looking in /Library, not /System/Library. If so, you can change the library search path with install_name_tool.


Have you tried running Mac Python in 32 bit mode?

Look at the Fat Binary:

cd /usr/bin/file python

I get:

python: Mach-O universal binary with 2 architecturespython (for architecture x86_64):   Mach-O 64-bit executable x86_64python (for architecture i386): Mach-O executable i386

To try 32 bit mode you would do:

arch -i386 /usr/bin/python

If that works, then it would at least be a workaround.


Now fixed under

Enthought Canopy Python 2.7.6 | 64-bit | (default, Apr 11 2014, 11:55:30) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwinType "help", "copyright", "credits" or "license" for more information.