Python - Runy Tkinter conflict

Discussion in 'Python' started by Adam, Jul 31, 2003.

  1. Adam

    Adam Guest

    Hi

    I had Ruby 1.6.8-8 for Windows installed on my WinXP Pro machine prior
    to installing Python 2.3. After installing Python 2.3, I tried to

    <----- screen output of python interactive command line ----->
    Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from Tkinter import *
    >>> root = Tk()

    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "C:\Python23\lib\lib-tk\Tkinter.py", line 1564, in __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    _tkinter.TclError: Can't find a usable init.tcl in the following
    directories:
    {c:\ruby\tcl\lib\tcl8.3} {c:\ruby\tcl\lib\tcl8.3}
    c:/ruby/tcl/lib/tcl8.4 C:/
    Python23/lib/tcl8.4 C:/lib/tcl8.4 C:/library

    c:/ruby/tcl/lib/tcl8.3/init.tcl: version conflict for package "Tcl":
    have 8.4, n
    eed 8.3
    version conflict for package "Tcl": have 8.4, need 8.3
    while executing
    "package require -exact Tcl 8.3"
    (file "c:/ruby/tcl/lib/tcl8.3/init.tcl" line 19)
    invoked from within
    "source c:/ruby/tcl/lib/tcl8.3/init.tcl"
    ("uplevel" body line 1)
    invoked from within
    "uplevel #0 [list source $tclfile]"
    c:/ruby/tcl/lib/tcl8.3/init.tcl: version conflict for package "Tcl":
    have 8.4, n
    eed 8.3
    version conflict for package "Tcl": have 8.4, need 8.3
    while executing
    "package require -exact Tcl 8.3"
    (file "c:/ruby/tcl/lib/tcl8.3/init.tcl" line 19)
    invoked from within
    "source c:/ruby/tcl/lib/tcl8.3/init.tcl"
    ("uplevel" body line 1)
    invoked from within
    "uplevel #0 [list source $tclfile]"


    This probably means that Tcl wasn't installed properly.
    </----- screen output of python interactive command line ----->

    After uninstalling Ruby 1.6.8-8 I tried again:

    <----- screen output of python interactive command line ----->
    >>> root = Tk()

    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "C:\Python23\lib\lib-tk\Tkinter.py", line 1564, in __init__
    self.tk = _tkinter.create(screenName, baseName, className)
    _tkinter.TclError: Can't find a usable init.tcl in the following
    directories:
    {c:\ruby\tcl\lib\tcl8.3} {c:\ruby\tcl\lib\tcl8.3}
    c:/ruby/tcl/lib/tcl8.4 C:/
    Python23/lib/tcl8.4 C:/lib/tcl8.4 C:/library



    This probably means that Tcl wasn't installed properly.
    </----- screen output of python interactive command line ----->

    Tkinter started working with Python 2.3 only after
    uninstalling/reinstalling Python.

    Is this considered a bug? Should I post this somewhere else?

    Adam
     
    Adam, Jul 31, 2003
    #1
    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. Jeff Epler
    Replies:
    0
    Views:
    535
    Jeff Epler
    Aug 20, 2004
  2. Dick Moores

    Conflict between msvcrt and Tkinter?

    Dick Moores, Jun 18, 2008, in forum: Python
    Replies:
    0
    Views:
    241
    Dick Moores
    Jun 18, 2008
  3. david
    Replies:
    3
    Views:
    427
    Zentrader
    Jul 8, 2008
  4. charles cashion

    css conflict (or html conflict)

    charles cashion, Feb 18, 2009, in forum: HTML
    Replies:
    2
    Views:
    825
    charles cashion
    Feb 18, 2009
  5. Nick

    Runy newbie question

    Nick, Feb 6, 2007, in forum: Ruby
    Replies:
    2
    Views:
    102
    Tim Becker
    Mar 1, 2007
Loading...

Share This Page