Get error "ImportError: No module named _tkinter"

Aahz aahz at pythoncraft.com
Thu Jan 29 17:02:44 EST 2004


In article <bvbhl1$1td$05$1 at news.t-online.com>,
Sebastian Stelzer  <deadlink27 at web.de> wrote:
>
>    import _tkinter # If this fails your Python may not be configured for Tk
>ImportError: No module named _tkinter
>
>I'am using Suse Linux 9.0 with Python 2.3.3.

You need to install Tck/Tk devel package, then rebuild Python.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code -- 
not in reams of trivial code that bores the reader to death."  --GvR



More information about the Python-list mailing list