Ask Your Question

Revision history [back]

Some results from this web search query helped me:

in particular this one:

Turtle for Sage in Jupyter

In a Jupyter sheet running the Sage kernel, run

%pip install ipyturtle

Then restart the kernel, and the following should work:

from ipyturtle import Turtle
t = Turtle()
t

Pygame for Sage in Jupyter

In a Jupyter sheet running the Sage kernel, run

%pip install pygame

Then Pygame should work for you in Sage.