buc99
Don't Tread on Me!
I'm running 10.2.
When I give the following command in my shell:
%which tclsh
I get:
/usr/bin/tclsh
Does anyone know if Tcl and Tk are installed natively? And if so, how come I keep getting an error when I try to import the Tkinter module in python:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
This usually means that Tk is not installed properly I think.
Any ideas?
Thanks.
SA
When I give the following command in my shell:
%which tclsh
I get:
/usr/bin/tclsh
Does anyone know if Tcl and Tk are installed natively? And if so, how come I keep getting an error when I try to import the Tkinter module in python:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
This usually means that Tk is not installed properly I think.
Any ideas?
Thanks.
SA