Opened 15 years ago

Last modified 15 years ago

#21400 closed defect

python25 @2.5.4-7 import Tkinter error — at Initial Version

Reported by: lapcchan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: python25

Description

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@… 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@… 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

Change History (0)

Note: See TracTickets for help on using tickets.