#21400: python25 @2.5.4-7 import Tkinter error --------------------------------+------------------------------------------- Reporter: lapcchan@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: python25 --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mww@… * port: => python25 Old 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@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@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
New 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@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@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#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS