編程小白,想學習python,從官網下載了python3.5.1.出現了[The version of Tcl/Tk (8.5.9) in use may be unstable],導致無法輸入中文,之後卸載。又從官網下載python3.5.0.安裝後又出現了[The version of Tcl/Tk (8.5.9) in use may be unstable],之後又下載了3.4,依舊無法輸入中文。。。求救如何解決此問題。
ActiveTcl Downloads
從這裡下載Tcl試試
下載8.6.4版本還會報錯,我又試著裝了下8.5.18,重啟IDLE便沒有提示不穩定了。
而且,也可以列印中文了:
原因如下(google而來):
Stan W writes (NB. edited for brevity):
Over the last couple of days I have started using your great book with my two sons (13 and 15 years old).I"m reaching out to you with the following question because I have noticed other people asking about the same issue online, withat least one mentioning your book, so I think you posting the question and answer to your blog might help other people in additionto me and my sons.
We are using Mac OSX and have installed Python 3.3.3 from python.org, and are getting this message when opening IDLE:
"WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit IDLE and tkinter with Tcl/Tk on Mac OS X forcurrent information."
I have installed "Mac OS X 64-bit/32-bit Installer (3.3.3) for Mac OS X 10.6 and later" (file: python-3.3.3-macosx10.6.dmg) andinstalled the "ActiveTcl 8.6.1 for Mac OS X (10.5+, x8664/x86)" (file: ActiveTcl8.6.1.1.297588-macosx10.5-i386-x8664-threaded),but IDLE keeps showing the same error message.
Thank you very much for any help you can provide!
I"m not convinced ActiveTcl 8.6.1 is the right version to install - I suspect rather than installing the latest and greatest, you should be using version 8.5.15.0. Python (and thus IDLE) will probably be using the latest 8.5 version of Tcl/Tk (i.e. 8.5.x) — you"re installing a completely different version (8.6), which it"s not looking for at all. Hence even though you think you"ve re-installed, you"ll still be getting the same error message.
IDLE warns against an old TCL version even though I"ve installed a newer version說的是:先裝ActiveTcl,再重裝python我試了裝個ActiveTcl,還是有問題,即使重啟
就是版本的問題,下一個低版本的就行,如果是8.6的就下一個8.5的
有兩個方法:一個:直接在終端打python3 可以直接運行第二個:IDLE WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable這裡有解決方法,具體來說就是DOWNLOAD TCL.
請問下樓主,我跟你是一樣的問題,不過我本地安裝的tcl/tk已經全部是最新版本,但是打開IDLE之後提示的仍然是之前版本的tcl/tk版本不對,這是怎麼回事呢?另外這個ActiveTcl又是什麼工具呢?只是tcl/tk還不夠嗎?
去官網下載對應版本的的ActiveTc就好了,ActiveTcl Downloads
推薦閱讀: