评测信息
运行ID: 12360
Traceback (most recent call last):
File "src.py", line 74, in <module>
main()
File "src.py", line 56, in main
t = turtle.Turtle()
File "E:\OpenJudger2\Compilers\pypy\lib-python\3\turtle.py", line 3812, in __init__
Turtle._screen = Screen()
File "E:\OpenJudger2\Compilers\pypy\lib-python\3\turtle.py", line 3662, in Screen
Turtle._screen = _Screen()
File "E:\OpenJudger2\Compilers\pypy\lib-python\3\turtle.py", line 3678, in __init__
_Screen._root = self._root = _Root()
File "E:\OpenJudger2\Compilers\pypy\lib-python\3\turtle.py", line 434, in __init__
TK.Tk.__init__(self)
File "E:\OpenJudger2\Compilers\pypy\lib-python\3\tkinter\__init__.py", line 1877, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
File "E:\OpenJudger2\Compilers\pypy\lib_pypy\_tkinter\__init__.py", line 31, in create
interactive, wantobjects, wantTk, sync, use)
File "E:\OpenJudger2\Compilers\pypy\lib_pypy\_tkinter\app.py", line 147, in __new__
Tcl_AppInit(self)
File "E:\OpenJudger2\Compilers\pypy\lib_pypy\_tkinter\app.py", line 39, in Tcl_AppInit
app.raiseTclError()
File "E:\OpenJudger2\Compilers\pypy\lib_pypy\_tkinter\app.py", line 161, in raiseTclError
tklib.Tcl_GetStringResult(self.interp)).decode('utf-8'))
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
E:/OpenJudger2/Compilers/lib/tcl8.5 E:/OpenJudger2/Compilers/lib/tcl8.5 E:/OpenJudger2/lib/tcl8.5 E:/OpenJudger2/Compilers/library E:/OpenJudger2/library E:/OpenJudger2/tcl8.5.2/library E:/tcl8.5.2/library
This probably means that Tcl wasn't installed properly.