Tkinter + Python 2.3b2 on WinXP

Andrei see at my.signature.com
Wed Jul 2 23:36:03 CEST 2003


I've installed Python 2.3b2 on Windows XP (in
"e:\programming\Python2.3"). I also have an older ActivePython 2.2.2
distro on my C-drive and Ruby which apparently installs tcl as well. Now
I'm trying to run Idle and get this little beauty (similar for other
Tkinter apps):

=====

E:\Programming\Python2.3\Lib\idlelib>idle.py
Traceback (most recent call last):
  File "E:\Programming\Python2.3\Lib\idlelib\idle.py", line 23, in ?
    idlelib.PyShell.main()
  File "E:\Programming\Python2.3\lib\idlelib\PyShell.py", line
  1253, in main
    root = Tk(className="Idle")
  File "E:\Programming\Python2.3\lib\lib-tk\Tkinter.py", line 1562,
  in __init__
    self.tk = _tkinter.create(screenName, baseName, className)
_tkinter.TclError: Can't find a usable init.tcl in the following
directories:
    {e:\programming\ruby\tcl\lib\tcl8.3;E:\Programming\Python2.3\tcl\t-
    k8.4} {e:\
programming\ruby\tcl\lib\tcl8.3;E:\Programming\Python2.3\tcl\tk8.4}
{e:/programm
ing/ruby/tcl/lib/tcl8.3;E:Programming/Python2.3/tcl/tcl8.4}
E:/PROGRA~1/Python2.
3/lib/tcl8.4 E:/PROGRA~1/lib/tcl8.4 E:/lib/tcl8.4 E:/PROGRA~1/library
      E:/library
 E:/../tcl8.4.3/library

This probably means that Tcl wasn't installed properly.

=====

init.tcl is present in "E:\Programming\Python2.3\tcl\tcl8.4", which is
also listed in the mumbo jumbo above. Idlefork worked OK on ActivePython
before I installed 2.3b2.

What should I do to make Tkinter work again?

Andrei

--
Contact info (decode with rot13): cebwrpg5 at bcrenznvy.pbz
Fcnzserr! Cyrnfr qb abg hfr va choyvp zrffntrf. V ernq gur yvfg, ab arrq gb PP.


Posted via http://dbforums.com




More information about the Python-list mailing list