Re: Newbie Prob : IDLE can't import Tkinter
On May 10, 6:31 pm, Romain FEUILLETTE <[EMAIL PROTECTED]> wrote: > Hello, > > I'have just install Python 2.5.1 on Linux and the IDLE doesn't seem to > works because it didn't find Tcl/Tk > Perhaps you haven't installed Tkinter? I'm not sure which distribution you are using, but on my box (with Python2.4 installed) the relevant package is tkinter-2.4.4-1.fc6.rpm. -- http://mail.python.org/mailman/listinfo/python-list
Newbie Prob : IDLE can't import Tkinter
Hello, I'have just install Python 2.5.1 on Linux and the IDLE doesn't seem to works because it didn't find Tcl/Tk Is there someone to explain how to modify the file "setup.py" to tell the install that Tcl/Tk are at the paht : "/usr/bin/tclsh" and "usr/bin/wish/" ? I have attached to log file of my terminal. Thanks a lot in advance. Romain [EMAIL PROTECTED] : ll total 8212 drwxr-s--- 19 fr18 Dk_pcell 4096 May 3 15:14 ./ drwxr-s---3 fr18 Dk_pcell 4096 May 3 14:01 ../ -rw-r-1 fr18 Dk_pcell77512 May 3 15:15 2007_05_03_1505_python_install.log drwxr-s---5 fr18 Dk_pcell 4096 May 3 10:12 build/ -rw-r-1 fr18 Dk_pcell 336280 May 3 10:09 config.log -rwxr-x---1 fr18 Dk_pcell57416 May 3 10:09 config.status* -rwxr-x---1 fr18 Dk_pcell 637991 Mar 12 11:50 configure* -rw-r-1 fr18 Dk_pcell96904 Mar 12 11:50 configure.in drwxr-s--- 22 fr18 Dk_pcell 4096 Apr 18 05:56 Demo/ drwxr-s--- 24 fr18 Dk_pcell 4096 Apr 18 06:01 Doc/ drwxr-s---2 fr18 Dk_pcell 4096 Apr 18 05:56 Grammar/ drwxr-s---2 fr18 Dk_pcell 8192 Apr 18 05:55 Include/ -rwxr-x---1 fr18 Dk_pcell 7122 Jun 14 2003 install-sh* drwxr-s--- 42 fr18 Dk_pcell20480 May 3 15:14 Lib/ -rw-r-1 fr18 Dk_pcell 3949072 May 3 15:14 libpython2.5.a -rw-r-1 fr18 Dk_pcell13615 Apr 5 06:52 LICENSE drwxr-s--- 11 fr18 Dk_pcell 4096 Apr 18 05:57 Mac/ -rw-r-1 fr18 Dk_pcell38219 May 3 10:09 Makefile -rw-r-1 fr18 Dk_pcell35107 May 3 10:09 Makefile.pre -rw-r-1 fr18 Dk_pcell35070 Dec 8 21:46 Makefile.pre.in drwxr-s---4 fr18 Dk_pcell 4096 Apr 18 05:56 Misc/ drwxr-s---7 fr18 Dk_pcell12288 May 3 15:14 Modules/ drwxr-s---3 fr18 Dk_pcell 8192 May 3 15:14 Objects/ drwxr-s---2 fr18 Dk_pcell 4096 May 3 15:14 Parser/ drwxr-s---8 fr18 Dk_pcell 4096 Apr 18 05:58 PC/ drwxr-s---2 fr18 Dk_pcell 4096 Apr 18 05:55 PCbuild/ drwxr-s---2 fr18 Dk_pcell 4096 Apr 18 06:08 PCbuild8/ -rw-r-1 fr18 Dk_pcell28357 May 3 10:09 pyconfig.h -rw-r-1 fr18 Dk_pcell27049 Oct 27 2006 pyconfig.h.in -rwxr-x---1 fr18 Dk_pcell 2661658 May 3 15:14 python* drwxr-s---2 fr18 Dk_pcell 8192 May 3 15:14 Python/ -rw-r-1 fr18 Dk_pcell77512 May 3 14:51 python_install.log -rw-r-1 fr18 Dk_pcell55678 Apr 5 06:52 README drwxr-s---5 fr18 Dk_pcell 4096 Apr 18 05:58 RISCOS/ -rw-r-1 fr18 Dk_pcell67931 May 3 15:18 setup.py drwxr-s--- 19 fr18 Dk_pcell 4096 Apr 18 05:58 Tools/ [EMAIL PROTECTED] : build/scripts-2.5/idle ** IDLE can't import Tkinter. Your Python may not be configured for Tk. ** [EMAIL PROTECTED] : which wish /usr/bin/wish [EMAIL PROTECTED] : wish % [EMAIL PROTECTED] : which tclsh /usr/bin/tclsh [EMAIL PROTECTED] : tclsh % info tcl 8.3 % exit -- http://mail.python.org/mailman/listinfo/python-list
IDLE can't import Tkinter
Hello, I'have just install Python 2.5.1 on Linux and the IDLE doesn't seem to works because it didn't find Tcl/Tk Is there someone to explain how to modify the file "setup.py" to tell the install that Tcl/Tk are at the paht : "/usr/bin/tclsh" and "usr/bin/wish/" ? I have attached to log file of my terminal. Thanks a lot in advance. Romain [EMAIL PROTECTED] : ll total 8212 drwxr-s--- 19 fr18 Dk_pcell 4096 May 3 15:14 ./ drwxr-s---3 fr18 Dk_pcell 4096 May 3 14:01 ../ -rw-r-1 fr18 Dk_pcell77512 May 3 15:15 2007_05_03_1505_python_install.log drwxr-s---5 fr18 Dk_pcell 4096 May 3 10:12 build/ -rw-r-1 fr18 Dk_pcell 336280 May 3 10:09 config.log -rwxr-x---1 fr18 Dk_pcell57416 May 3 10:09 config.status* -rwxr-x---1 fr18 Dk_pcell 637991 Mar 12 11:50 configure* -rw-r-1 fr18 Dk_pcell96904 Mar 12 11:50 configure.in drwxr-s--- 22 fr18 Dk_pcell 4096 Apr 18 05:56 Demo/ drwxr-s--- 24 fr18 Dk_pcell 4096 Apr 18 06:01 Doc/ drwxr-s---2 fr18 Dk_pcell 4096 Apr 18 05:56 Grammar/ drwxr-s---2 fr18 Dk_pcell 8192 Apr 18 05:55 Include/ -rwxr-x---1 fr18 Dk_pcell 7122 Jun 14 2003 install-sh* drwxr-s--- 42 fr18 Dk_pcell20480 May 3 15:14 Lib/ -rw-r-1 fr18 Dk_pcell 3949072 May 3 15:14 libpython2.5.a -rw-r-1 fr18 Dk_pcell13615 Apr 5 06:52 LICENSE drwxr-s--- 11 fr18 Dk_pcell 4096 Apr 18 05:57 Mac/ -rw-r-1 fr18 Dk_pcell38219 May 3 10:09 Makefile -rw-r-1 fr18 Dk_pcell35107 May 3 10:09 Makefile.pre -rw-r-1 fr18 Dk_pcell35070 Dec 8 21:46 Makefile.pre.in drwxr-s---4 fr18 Dk_pcell 4096 Apr 18 05:56 Misc/ drwxr-s---7 fr18 Dk_pcell12288 May 3 15:14 Modules/ drwxr-s---3 fr18 Dk_pcell 8192 May 3 15:14 Objects/ drwxr-s---2 fr18 Dk_pcell 4096 May 3 15:14 Parser/ drwxr-s---8 fr18 Dk_pcell 4096 Apr 18 05:58 PC/ drwxr-s---2 fr18 Dk_pcell 4096 Apr 18 05:55 PCbuild/ drwxr-s---2 fr18 Dk_pcell 4096 Apr 18 06:08 PCbuild8/ -rw-r-1 fr18 Dk_pcell28357 May 3 10:09 pyconfig.h -rw-r-1 fr18 Dk_pcell27049 Oct 27 2006 pyconfig.h.in -rwxr-x---1 fr18 Dk_pcell 2661658 May 3 15:14 python* drwxr-s---2 fr18 Dk_pcell 8192 May 3 15:14 Python/ -rw-r-1 fr18 Dk_pcell77512 May 3 14:51 python_install.log -rw-r-1 fr18 Dk_pcell55678 Apr 5 06:52 README drwxr-s---5 fr18 Dk_pcell 4096 Apr 18 05:58 RISCOS/ -rw-r-1 fr18 Dk_pcell67931 May 3 15:18 setup.py drwxr-s--- 19 fr18 Dk_pcell 4096 Apr 18 05:58 Tools/ [EMAIL PROTECTED] : build/scripts-2.5/idle ** IDLE can't import Tkinter. Your Python may not be configured for Tk. ** [EMAIL PROTECTED] : which wish /usr/bin/wish [EMAIL PROTECTED] : wish % [EMAIL PROTECTED] : which tclsh /usr/bin/tclsh [EMAIL PROTECTED] : tclsh % info tcl 8.3 % exit -- http://mail.python.org/mailman/listinfo/python-list