问题描述:想在python3的idle里导入turtle模块画图,但一直报错
解决方法:https://www.zhihu.com/question/42162071/answer/95441732
重编译遇到问题参考:https://www.cnblogs.com/dbj66/p/8624426.html
安装完成后,又遇到一个问题
当我在python3的idle里运行如下代码时
1 importturtle2 turtle.circle(10)
报错:
Traceback (most recent call last):
File"", line 1, in File"", line 6, incircle
File"/usr/tools/python3/lib/python3.6/turtle.py", line 3812, in __init__Turtle._screen=Screen()
File"/usr/tools/python3/lib/python3.6/turtle.py", line 3662, inScreen
Turtle._screen=_Screen()
File"/usr/tools/python3/lib/python3.6/turtle.py", line 3678, in __init___Screen._root= self._root =_Root()
File"/usr/tools/python3/lib/python3.6/turtle.py", line 434, in __init__TK.Tk.__init__(self)
File"/usr/tools/python3/lib/p