TclErrorTraceback (most recent call last)
<ipython-input-4-f7354a0b5b74> in <module>()
1 import turtle
----> 2 tina = turtle.Turtle()
3 tina.shape("turtle")
4
5 tina.penup()
/projects/anaconda3/lib/python3.5/turtle.py in __init__(self, shape, undobuffersize, visible)
3810 visible=_CFG["visible"]):
3811 if Turtle._screen is None:
-> 3812 Turtle._screen = Screen()
3813 RawTurtle.__init__(self, Turtle._screen,
3814 shape=shape,
/projects/anaconda3/lib/python3.5/turtle.py in Screen()
3660 else return the existing one."""
3661 if Turtle._screen is None:
-> 3662 Turtle._screen = _Screen()
3663 return Turtle._screen
3664
/projects/anaconda3/lib/python3.5/turtle.py in __init__(self)
3676 # preserved (perhaps by passing it as an optional parameter)
3677 if _Screen._root is None:
-> 3678 _Screen._root = self._root = _Root()
3679 self._root.title(_Screen._title)
3680 self._root.ondestroy(self._destroy)
/projects/anaconda3/lib/python3.5/turtle.py in __init__(self)
432 """Root class for Screen based on Tkinter."""
433 def __init__(self):
--> 434 TK.Tk.__init__(self)
435
436 def setupcanvas(self, width, height, cwidth, cheight):
/projects/anaconda3/lib/python3.5/tkinter/__init__.py in __init__(self, screenName, baseName, className, useTk, sync, use)
1865 baseName = baseName + ext
1866 interactive = 0
-> 1867 self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
1868 if useTk:
1869 self._loadtk()
TclError: no display name and no $DISPLAY environment variable