Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

turtle graphics not installed #14

Open
embray opened this issue Dec 8, 2016 · 2 comments
Open

turtle graphics not installed #14

embray opened this issue Dec 8, 2016 · 2 comments
Assignees

Comments

@embray
Copy link
Owner

embray commented Dec 8, 2016

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.

@jeffalainjohnson
Copy link

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?

@embray
Copy link
Owner Author

embray commented Sep 14, 2018

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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants