Gentoo Archives: gentoo-user

From: Daniel Heemann <daniel.heemann@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python Tkinter
Date: Fri, 13 Jun 2008 11:38:47
Message-Id: 200806131338.44033.daniel.heemann@gmx.de
In Reply to: [gentoo-user] python Tkinter by David Harel
1 On Fri June 13 2008, David Harel wrote:
2 > Hi,
3 >
4 > I need Tkinter: http://wiki.python.org/moin/TkInter .
5 > In /etc/portage/package.use I added:
6 > dev-lang/python (-nocxx) (-nothreads) tk
7 >
8 > trying the package as explained in "Step 1" in the above link:
9 > $ python
10 > Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
11 > [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
12 > Type "help", "copyright", "credits" or "license" for more information.
13 >
14 > >>> import _tkinter
15 >
16 > Traceback (most recent call last):
17 > File "<stdin>", line 1, in <module>
18 > ImportError: No module named _tkinter
19
20 Afaik you need to build python with the 'tk' USE flag enabled.
21 --
22 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] python Tkinter Edward Hades <edward.hades@×××××.com>