python3.8的idle打不开_python3.6.4的 IDLE打不开

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

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.

希望有大神能够帮忙

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值