Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259135 - dev-lang/python-2.5.2-r7: idle2.5 doesn't work : "no module named Tkinter"
Summary: dev-lang/python-2.5.2-r7: idle2.5 doesn't work : "no module named Tkinter"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-15 19:59 UTC by Jean-Michel Berliere
Modified: 2011-10-30 23:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,3.21 KB, text/plain)
2009-02-15 20:00 UTC, Jean-Michel Berliere
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel Berliere 2009-02-15 19:59:17 UTC
When I had the problem the first time, I thought it was related with the bug 237788. But even though I freshly installed Tcl and Tk, and then I rebuilded python with USE="tk", I still have problems accessing Tkinter module. Here is what says when I launch idle2.5

Traceback (most recent call last):
  File "/usr/bin/idle2.5", line 3, in <module>
    from idlelib.PyShell import main
  File "/usr/lib/python2.5/idlelib/PyShell.py", line 14, in <module>
    import macosxSupport
  File "/usr/lib/python2.5/idlelib/macosxSupport.py", line 6, in <module>
    import Tkinter
ImportError: No module named Tkinter

Jean-Michel

Reproducible: Always




I run linux-2.6.24-gentoo-r4 with fluxbox.
Comment 1 Jean-Michel Berliere 2009-02-15 20:00:52 UTC
Created attachment 182157 [details]
emerge --info
Comment 2 Jean-Michel Berliere 2009-02-21 21:02:20 UTC
(In reply to comment #0)
> When I had the problem the first time, I thought it was related with the bug
> 237788. But even though I freshly installed Tcl and Tk, and then I rebuilded
> python with USE="tk", I still have problems accessing Tkinter module. Here is
> what says when I launch idle2.5
> 
> Traceback (most recent call last):
>   File "/usr/bin/idle2.5", line 3, in <module>
>     from idlelib.PyShell import main
>   File "/usr/lib/python2.5/idlelib/PyShell.py", line 14, in <module>
>     import macosxSupport
>   File "/usr/lib/python2.5/idlelib/macosxSupport.py", line 6, in <module>
>     import Tkinter
> ImportError: No module named Tkinter
> 
> Jean-Michel
> 
> Reproducible: Always
> 
> 
> 
> 
> I run linux-2.6.24-gentoo-r4 with fluxbox.
> 

I reply myself, cause I think I found the cause : don't use the USE bind, rebuild the Python package, and the idle run fine. (It seem's that It's the same with USE ucs2, but I don't test it)
Is-it a bug ? I don't know, but it's curious that we have no warnings.
For me, it's FIXEd