Tkinter + Python 2.3b2 on WinXP

Discussion in 'Python' started by Andrei, Jul 2, 2003.

  1. Andrei

    Andrei Guest

    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):
    Fcnzserr! Cyrnfr qb abg hfr va choyvp zrffntrf. V ernq gur yvfg, ab arrq gb PP.


    Posted via http://dbforums.com
     
    Andrei, Jul 2, 2003
    #1
    1. Advertising

  2. Andrei <> writes:

    > What should I do to make Tkinter work again?


    Unset TCL_LIBRARY and TK_LIBRARY from your environment.

    Regards,
    Martin
     
    Martin v. =?iso-8859-15?q?L=F6wis?=, Jul 5, 2003
    #2
    1. Advertising

  3. Andrei

    Andrei Guest

    Originally posted by Martin V. L?Wis
    > Andrei writes:
    >
    > > What should I do to make Tkinter work again?

    >
    > Unset TCL_LIBRARY and TK_LIBRARY from your environment.
    >
    > Regards,
    > Martin


    Thanks, that did the trick.

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


    Posted via http://dbforums.com
     
    Andrei, Jul 5, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Barry Warsaw

    RELEASED: Python 2.3b2

    Barry Warsaw, Jun 30, 2003, in forum: Python
    Replies:
    0
    Views:
    608
    Barry Warsaw
    Jun 30, 2003
  2. Egor Bolonev

    redirect std out in TKinter window,WinXP

    Egor Bolonev, Jul 6, 2003, in forum: Python
    Replies:
    1
    Views:
    335
    Martin v. =?iso-8859-15?q?L=F6wis?=
    Jul 6, 2003
  3. Bartolomé Sintes Marco

    Windows Python 2.3b2 bug? Edit with IDLE

    Bartolomé Sintes Marco, Jul 10, 2003, in forum: Python
    Replies:
    0
    Views:
    337
    Bartolomé Sintes Marco
    Jul 10, 2003
  4. Replies:
    1
    Views:
    546
    Claudio Grondi
    Jul 10, 2006
  5. CWPinpoint

    PTC World Review for 3B2 users

    CWPinpoint, Jan 2, 2007, in forum: XML
    Replies:
    1
    Views:
    474
Loading...

Share This Page