[MacPorts] #21400: python25 @2.5.4-7 import Tkinter error

MacPorts noreply at macports.org
Tue Sep 15 10:26:33 PDT 2009


#21400: python25 @2.5.4-7   import Tkinter error
--------------------------------+-------------------------------------------
 Reporter:  lapcchan@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.0                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
 upgraded to snow leopard and
 port upgrade --force python25

 vinc ~ $  port info  python25
 python25 @2.5.4, Revision 7 (lang)
 Variants:             darwin_10, darwin_8, darwin_9, macosx, puredarwin,
 universal

 Description:          Python is an interpreted, interactive, object-
 oriented programming language.
 Homepage:             http://www.python.org/

 Library Dependencies: gettext, zlib, openssl, tk, sqlite3, db46, bzip2,
 gdbm, readline, ncurses
 Platforms:            darwin
 License:              unknown
 Maintainers:          mww at macports.org
 vincent ~ $  port info  python25
 python25 @2.5.4, Revision 7 (lang)
 Variants:             darwin_10, darwin_8, darwin_9, macosx, puredarwin,
 universal

 Description:          Python is an interpreted, interactive, object-
 oriented programming language.
 Homepage:             http://www.python.org/

 Library Dependencies: gettext, zlib, openssl, tk, sqlite3, db46, bzip2,
 gdbm, readline, ncurses
 Platforms:            darwin
 License:              unknown
 Maintainers:          mww at macports.org
 vinc ~ $  /opt/local/bin/python2.5
 Python 2.5.4 (r254:67916, Sep 16 2009, 01:03:06)
 [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import Tkinter
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /lib-tk/Tkinter.py", line 38, in <module>
     import _tkinter # If this fails your Python may not be configured for
 Tk
 ImportError: No module named _tkinter

-- 
Ticket URL: <http://trac.macports.org/ticket/21400>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list