Skip to content

no display name and no $DISPLAY environment variable in Jupyter Notebook #1

@fissehab

Description

@fissehab

I want to teach Python for kids. I want them to use Jupyter Notebook. To avoid the hassle of installation, I want them to use a free online Jupyter Notebook. I thought google's colab (link and jupyter.org (link could be best solutions. However, I tried them both and got the error message below:

from turtle import *
colors = ['red', 'purple', 'blue', 'green', 'yellow', 'orange']
for x in range(360):
 pencolor(colors[x % 6])
 width(x / 100 + 1)
 forward(x)
 left(59)

TclError: no display name and no $DISPLAY environment variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions