All:
I reported an issue a few days ago in which sage's python 2.6 was not
properly configured for tcl/tk. My native "stand-alone" version of
python 2.6 (outside of sage) was just fine,though.
I've resolved the issue, thanks to a suggestion from this discussion
group.
I went to my system-wide installation of tcl/tk and did the following:
1. Copied the tcl and tk header files to my <sage-local>/sage-4.2.1/
local/include directory.
The above is in the directory structure where I am doing the sage
build.
2 Copied the tcl and tk libraries to my <sage-local>/sage-4.2.1/local/
lib directory.
3. re-installed sage's python 2.6 build via the command "./sage -f
python-2.6.2.p4"
I can now import Tkinter inside the sage shell, and executing the
command "Tkinter._test()" pops open a gui window with two buttons, as
it should. This behavior is now consistent with my stand-alone python
2.6 install.
Thanks for the help.
T. Davis
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org