Get error "ImportError: No module named _tkinter"

Aahz aahz at pythoncraft.com
Fri Jan 30 21:01:41 EST 2004


In article <bvdqu5$thh$03$1 at news.t-online.com>,
Sebastian Stelzer  <deadlink27 at web.de> wrote:
>Aahz wrote:
>> 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.
>
>I did it and I' got the same error.
>Can you tell it more exactly please?

Did you ``make distclean`` before rebuilding?  If yes, then you're
beyond my competence; hopefully someone else will pick the ball.
-- 
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