You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.
It was pointed out that the Python turtle module, which is used in some tutorials, is not available.
It turns out that the turtle module depends on Tkinter, so it's necessary to install the Cygwin package python-tkinter (Cygwin, like most Linux distributions, keeps the Tkinter module in a separate package so that Python can be installed without Tcl/Tk and all the dependencies that brings in).
One problem is that on Cygwin, Tk also requires an X server (it is, after all, a *nix build of Tk, not the Windows version). So the Sage installer will also need to include a full X server, and start it at the appropriate time for features that depend on it to work.
The text was updated successfully, but these errors were encountered:
I assume that if we are running Python3, we need python3-tkinter.
How does one install it? What is the install command and how does it know to install it from the Cygwin site?
In principle you can run apt-cyg install <whatever>; this is only included in the distribution since Sage 8.3 (apt-cyg, that is). However, none of this is supported at the moment (using Tcl/Tk, etc.; I make no guarantees).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It was pointed out that the Python
turtle
module, which is used in some tutorials, is not available.It turns out that the
turtle
module depends on Tkinter, so it's necessary to install the Cygwin packagepython-tkinter
(Cygwin, like most Linux distributions, keeps the Tkinter module in a separate package so that Python can be installed without Tcl/Tk and all the dependencies that brings in).One problem is that on Cygwin, Tk also requires an X server (it is, after all, a *nix build of Tk, not the Windows version). So the Sage installer will also need to include a full X server, and start it at the appropriate time for features that depend on it to work.
The text was updated successfully, but these errors were encountered: