On Fri, 13 Jun 2008 12:55:39 +0300
David Harel <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I need Tkinter: http://wiki.python.org/moin/TkInter .
> In /etc/portage/package.use I added:
> dev-lang/python (-nocxx) (-nothreads) tk
> 
> trying the package as explained in "Step 1" in the above link:
> $ python
> Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
> [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import _tkinter
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named _tkinter
>  >>>
> 
> Any idea?
> 

Uh, the module is called Tkinter, so: import Tkinter

http://docs.python.org/lib/module-Tkinter.html

-- 
Ken69267

Attachment: signature.asc
Description: PGP signature

Reply via email to