[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

Michael Foord report at bugs.python.org
Sun Jul 11 23:31:47 CEST 2010


New submission from Michael Foord <michael at voidspace.org.uk>:

After installing Python 2.7 for Mac OS X from the Python.org binary I can't use Tkinter or IDLE.

I installed the following, on Snow Leopard:

* Python 2.7 PPC/i386/x86-64 Max OS X Installer Disk Image 


>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so, 2): no suitable image found.  Did find:
	/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so: no matching architecture in universal wrapper

----------
assignee: ronaldoussoren
components: Macintosh
messages: 110051
nosy: michael.foord, ronaldoussoren
priority: normal
severity: normal
status: open
title: can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9227>
_______________________________________


More information about the Python-bugs-list mailing list