Gentoo Archives: gentoo-user

From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python Tkinter
Date: Fri, 13 Jun 2008 15:35:02
Message-Id: 6142e6140806130834q31339c20n388ca4318426110@mail.gmail.com
In Reply to: [gentoo-user] python Tkinter by David Harel
1 2008/6/13, David Harel <hareldvd@×××××.com>:
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 > >>> import _tkinter
14 > Traceback (most recent call last):
15 > File "<stdin>", line 1, in <module>
16 > ImportError: No module named _tkinter
17 > >>>
18 >
19 > Any idea?
20
21 Did you update python and forgot running python-updater?
22
23 > Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
24
25 Maybe you can try a python version which is in the tree 2.5.1 is not
26 anymore as i can see where 2.5.2 is the current version avaiable in
27 the tree. Another option would be trying a stable version of python,
28 afaik 2.4.x ist stable at the moment.
29 --
30 gentoo-user@l.g.o mailing list