How to use Tk on sage?
I run command "sage -python gui.py". In gui.py import Tkinter. but SAGE response
Traceback (most recent call last):
File "gui.py", line 1, in <module>
from Tkinter import*
File "/usr/local/src/sage-4.7-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/lib-tk/Tkinter.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
how to way to solve the problem. Thank you
add a comment