该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
idle点一下就没有反应了,进入python3\Lib\idlelib\下输入python idle.py,报错:
Traceback (most recent call last):
File "idle.py", line 13, in
from idlelib.pyshell import main # This is subject to change
File "E:\python\python3\Lib\idlelib\pyshell.py", line 43, in
from idlelib.run import idle_formatwarning, PseudoInputFile, PseudoOutputFile
File "E:\python\python3\Lib\idlelib\run.py", line 74, in
tcl = tkinter.Tcl()
File "E:\python\python3\Lib\tkinter\__init__.py", line 2113, in Tcl
return Tk(screenName, baseName, className, useTk)
File "E:\python\python3\Lib\tkinter\__init__.py", line 2017, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
{E:\Python27\tcl\tcl8.5} E:/Python27/tcl/tcl8.6 E:/python/python3/lib/tcl8.6 E:/python/lib/tcl8.6 E:/lib/tcl8.6 E:/python/library E:/library E:/tcl8.6.6/library E:/tcl8.6.6/library
This probably means that Tcl wasn't installed properly.
希望有大神能够帮忙