no module named _tkinter

Michele Simionato michele.simionato at
Wed Oct 22 06:11:57 CEST 2008

On Oct 22, 2:10 am, Ben ZX <zzxx... at> wrote:
> When I type
> import Tkinter
> I get
> no module named _tkinter.
> I compiled my own python 2.5.2, and I didn't do anything special: just
> configure; make; make install.
> I checked there is a tk library in /usr/lib64.

You need the development files. For instance in Ubuntu
I did something like 'sudo apt-get install tk-dev'.

More information about the Python-list mailing list