But tcl/tk is not a python package. tkinter is the python interface to it and it is included with every python distribution (including Sage's). The problem is that to import it, tkinter.py looks for tcl/tk using some magic I couldn't figure out.
Adrian's suggestion (or William's, and I think now Adam had the right idea too) worked: reinstall Sage's Python using sage -f. Thanks to all of you for your help. On Wed, Dec 3, 2008 at 1:26 PM, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > > You could also try installing tcl/tk into sage's copy of python, e.g. > with sage -python path/to/tk/setup.py install . Trying to let the > Sage Python see the system Python's libraries may result in binary > incompatibilities (the versions and flags used to compile them must > match, which they probably don't). > > - Robert > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---