1 |
On Fri, 13 Jun 2008 12:55:39 +0300 |
2 |
David Harel <hareldvd@×××××.com> wrote: |
3 |
|
4 |
> Hi, |
5 |
> |
6 |
> I need Tkinter: http://wiki.python.org/moin/TkInter . |
7 |
> In /etc/portage/package.use I added: |
8 |
> dev-lang/python (-nocxx) (-nothreads) tk |
9 |
> |
10 |
> trying the package as explained in "Step 1" in the above link: |
11 |
> $ python |
12 |
> Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54) |
13 |
> [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2 |
14 |
> Type "help", "copyright", "credits" or "license" for more information. |
15 |
> >>> import _tkinter |
16 |
> Traceback (most recent call last): |
17 |
> File "<stdin>", line 1, in <module> |
18 |
> ImportError: No module named _tkinter |
19 |
> >>> |
20 |
> |
21 |
> Any idea? |
22 |
> |
23 |
|
24 |
Uh, the module is called Tkinter, so: import Tkinter |
25 |
|
26 |
http://docs.python.org/lib/module-Tkinter.html |
27 |
|
28 |
-- |
29 |
Ken69267 |