Tkinter module not found

John Salerno johnjsal at NOSPAMgmail.com
Tue Aug 8 11:30:33 EDT 2006


Shuaib wrote:
> Hey,
> 
> Even though I freshly installed Tcl and Tk, python still seem to have
> problems accessing Tkinter module. Here is what says when I do "import
> Tkinter"
> 
> ==
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named Tkinter
> ==
> 
> Any ideas how to fix this problem? (Gentoo distribution)
> 
> Thanks.
> 

The cause of this is usually that you are using a different version of 
Python than the one you installed Tkinter into, but being a Linux newbie 
I have yet to discover how to redirect the 'python' command to invoke 
the newer version of Python.



More information about the Python-list mailing list