Opened 15 years ago
Closed 15 years ago
#21400 closed defect (worksforme)
python25 @2.5.4-7 import Tkinter error
Reported by: | lapcchan@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | ||
Port: | python25 |
Description (last modified by mf2k (Frank Schima))
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
Change History (6)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Port: | python25 added |
comment:2 follow-up: 3 Changed 15 years ago by jmroot (Joshua Root)
comment:3 Changed 15 years ago by lapcchan@…
Replying to 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.
comment:4 Changed 15 years ago 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.
comment:5 Changed 15 years ago 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
comment:6 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Works fine on 10.6 here, FWIW.