|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
我的Python程序无法运行,报出TclError。已尝试过重新安装,但没有奏效。以下为错误报告:
发生异常: TclError
Can't find a usable init.tcl in the following directories:
C:/Users/Root/AppData/Local/Programs/Python/Python38/lib/tcl8.6 C:/Users/Root/AppData/Local/Programs/Python/lib/tcl8.6 C:/Users/Root/AppData/Local/Programs/lib/tcl8.6 C:/Users/Root/AppData/Local/Programs/Python/library C:/Users/Root/AppData/Local/Programs/library C:/Users/Root/AppData/Local/Programs/tcl8.6.9/library C:/Users/Root/AppData/Local/tcl8.6.9/library
This probably means that Tcl wasn't installed properly.
请各位大神帮帮忙吧。
在Python安装目录找到init.tcl的文件,把这个文件所在的文件夹复制到列出的目录,然后就可以了。
|
|