I came accross the same thing a while ago. In the post "GUI for sage" http://groups.google.com/group/sage-support/browse_thread/thread/6cea70d6be0436fa/582b7f836eee9816?lnk=gst&q=tk#582b7f836eee9816 , William Stein suggested the following:
(1) Make sure you've installed the tk devel package. it's called tk8.4-dev under Ubuntu. (Make sure the tk version is at least 8.3.) (2) Make sure SAGE's Python has Tk support included. It will if you built Python yourself and already had tk8.0-dev installed. Otherwise, you'll have to rebuild the Python interpreter included in SAGE: sage -i sage -f python-2.5.1.p3 Here I got the version number as the latest Python package listed at SAGE_ROOT/spkg/installed. One could also look at http://sagemath.org/packages/standard/ I think the order of the last command is wrong, though, it should be: sage -f -i python-2.5.2.p8 (at least with the latest version of the packages) Hope this helps. -Adrian On Dec 3, 9:11 am, Jaap Spies <[EMAIL PROTECTED]> wrote: > David Joyner wrote: > > System wide, it works fine: > > For me it works: > > ---------------------------------------------------------------------- > | Sage Version 3.2.1, Release Date: 2008-12-01 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > sage: import Tkinter > > sage: import _tkinter > > sage: > > Jaap --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---