[MacPorts] #21400: python25 @2.5.4-7 import Tkinter error
#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@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> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 --------------------------------+------------------------------------------- Comment(by jmr@…): Works fine on 10.6 here, FWIW. -- Ticket URL: <http://trac.macports.org/ticket/21400#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 --------------------------------+------------------------------------------- Comment(by lapcchan@…): Replying to [comment:2 jmr@…]:
Works fine on 10.6 here, FWIW.
can anyone else confirm this? i've just force upgrade tk and tcl as well and it still with the same problem. running the python2.5 come with snow leopard works but i need some others libraries from macports. -- Ticket URL: <http://trac.macports.org/ticket/21400#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 --------------------------------+------------------------------------------- Comment(by lapcchan@…): ok i tried on my other imac at home which is also upgraded to snow leopard. install xcode and macports then 'port install python25'. everything works fine. i then uninstall everything from macports and do it all over again but it still with the same error. any idea? i did 'port uninstall installed' then trash the whole directory /opt before reinstall. -- Ticket URL: <http://trac.macports.org/ticket/21400#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 --------------------------------+------------------------------------------- Comment(by lapcchan@…): since uninstall everything from macport didn't work and it seems no one having the same problem. i decided to reinstall a fresh snow leopard and it fix the problem. pls close this ticket, thanks -- Ticket URL: <http://trac.macports.org/ticket/21400#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21400: python25 @2.5.4-7 import Tkinter error ---------------------------------+------------------------------------------ Reporter: lapcchan@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: worksforme | Keywords: Port: python25 | ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/21400#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts