简体   繁体   中英

Python3 and Tcl/Tk 8.5 on OS X 10.5

On a 10.5 Mac (i386) I've install ActivePython-3.1.2.3 and ActiveTcl8.5.17.0

I've got a trouble with my script.py and I guess it come from Tcl/Tk invocation. In a terminal :

Python3
    import tkinter
    tkinter._test()

return me 8.4 version !?

How can I “link” python3 and Tcl/Tk 8.5 ?

I didn't find the answer to my question but i understand something which can help: on my above command, python3 is an alias which refer to "official" Python 3.4.3 (unfortunately "link" with Tcl/Tk 8.4 )

To call ActivePython-3.1 , i just have to use python3.1 alias, which is indeed related to Tcl/Tk 8.5 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM