_tkinter problem

Craig Ringer craig at postnewspapers.com.au
Sat Jan 8 02:10:11 EST 2005


On Sat, 2005-01-08 at 14:30, Jatinder Singh wrote:
> Hi
> I am running a script which is importing tkinter  from "/usr/local/lib/python2.3/lib-tk/Tkinter.py" and generating an error 
> " import _tkinter
> ImportError: No module named _tkinter "
> 
> can anybody tell me what is it? and how to get away with it?

I think your question is the same problem as another recent poster -
that is, you didn't have the Tcl and Tk headers installed when you
installed Python. Please see my answer to "Help uninstalling/installing
Python 2.4" (Yes, I know yours isn't Python 2.4 - it doesn't matter).

--
Craig Ringer




More information about the Python-list mailing list