Message99262
Thanks very much for your helpful and quick reply!
I installed Tcl8.4 from activestate, and had the same version
conflict error when I did the Tkinter test in Python. So I
uninstalled both Tcl8.4 and Tcl8.5 (I did sudo ./uninstall while in
this directory, the 8.4 and 8.5 versions: /Library/Receipts/
ActiveTcl-8.4.pkg/Contents/Resources)
Then I reinstalled Tcl8.4 from active state, and now it still seems
to look for Tcl8.5 when I say "import _tkinter" in Python:
katrine-whitesons-computer:/Applications/Q/matplotlib-0.99.1.1
katrinewhiteson$ python
Python 2.6 (trunk:66714:66715M, Oct 1 2008, 18:36:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import _tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/lib-dynload/_tkinter.so, 2): Library not loaded: /
Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/lib-dynload/_tkinter.so
Reason: image not found
____________________
I looked in /Library/Frameworks/Tcl.framework
and found 2 folders, "8.4" and "Current", the latter does not contain
anything that says 8.5.
How can I get python to stop looking for 8.5?
thank you!
Katrine
On Feb 12, 2010, at 11:32 AM, Ned Deily wrote:
>
> Ned Deily <nad@acm.org> added the comment:
>
> If you have installed Python 2.6.4 using the python.org OS X
> installer, it was linked with Tk 8.4, and will not use Tk 8.5. OS
> X 10.4 has an old version of Tk 8.4; your best bet is to install
> the most recent Tcl/Tk 8.4 from ActiveState Tcl/Tk.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue5651>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2010-02-12 11:40:49 | Katrine.Whiteson | set | recipients:
+ Katrine.Whiteson, ronaldoussoren, ned.deily |
2010-02-12 11:40:48 | Katrine.Whiteson | link | issue5651 messages |
2010-02-12 11:40:46 | Katrine.Whiteson | create | |
|