i have installed activetcl8.6.1.1.297588-macosx10.5-i386-x86_64-threaded
on os x 10.9.1 . however, when launch idle running idle3
terminal, following warning shows in idle window:
python 3.3.3 (v3.3.3:c3896275c0f6, nov 16 2013, 23:39:35) [gcc 4.2.1 (apple inc. build 5666) (dot 3)] on darwin type "copyright", "credits" or "license()" more information. >>> warning: version of tcl/tk (8.5.9) in use may unstable. visit http://www.python.org/download/mac/tcltk/ current information.
why newer activetcl version have installed not recognized idle? how can rectify this?
edit: further details.
$ echo $path /library/frameworks/python.framework/versions/3.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin $ tclsh /usr/bin/tclsh $ ls -l /usr/bin/tclsh* lrwxr-xr-x 1 root wheel 17 jan 15 10:45 /usr/bin/tclsh -> /usr/bin/tclsh8.6 lrwxr-xr-x 1 root wheel 67 oct 25 19:59 /usr/bin/tclsh8.4 -> ../../system/library/frameworks/tcl.framework/versions/8.4/tclsh8.4 lrwxr-xr-x 1 root wheel 67 oct 25 19:59 /usr/bin/tclsh8.5 -> ../../system/library/frameworks/tcl.framework/versions/8.5/tclsh8.5 lrwxr-xr-x 1 root wheel 23 jan 15 10:45 /usr/bin/tclsh8.6 -> /usr/local/bin/tclsh8.6 $ ls -l /usr/local/bin/tclsh* lrwxr-xr-x 1 root admin 8 jan 15 10:40 /usr/local/bin/tclsh -> tclsh8.6 -rwxr-xr-x 1 root admin 41716 oct 27 04:45 /usr/local/bin/tclsh8.6
according "how python chooses tk library use" section of "idle , tinter tcl/tk on mac os x" page on official python website,
the python mac os x installers downloaded website dynamically link @ runtime tcl/tk mac os x frameworks. tcl/tk major version determined when installer created , cannot overridden. python 64-bit/32-bit mac os x installers python 3.4.x, 3.3.x, 3.2.x, , 2.7.x dynamically link tcl/tk 8.5 frameworks.
so seems that
- the current python installations os x not recognize latest activetcl version (namely 8.6).
- the tcl/tk version used python hard-wired during python installation procedure , cannot changed later.
from these observation solution clear:
- install latest 8.5 activetcl version.
- reinstall python.
i have followed these steps , seems work.
Comments
Post a Comment