asweigart / asweigart/simple-turtle-tutorial-for-python

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

オープン
#1 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
153
フォーク
57
PR マージ指標
30日以内にマージされた PR はありません

説明

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](https://colab.research.google.com/notebooks) and jupyter.org ([link](https://jupyter.org/try) 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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

この issue ではリポジトリのファイルもテストも指定されていないため、まず Google Colab と報告にリンクされている Jupyter の試行環境で turtle の例を再現します。チュートリアルに環境固有の案内が必要かどうかを判断し、サポート対象のオンラインセットアップと期待される動作が明確にドキュメント化された時点で issue 完了とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
jupyter-notebook, python
領域
documentation
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。