no module named _tkinter

Ben ZX zzxxben at gmail.com
Wed Oct 22 20:14:35 CEST 2008


On Oct 21, 9:11 pm, Michele Simionato <michele.simion... at gmail.com>
wrote:
> On Oct 22, 2:10 am, Ben ZX <zzxx... at gmail.com> wrote:
>
> > When I type
Thanks. Right on.


>
> > 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