Python - Runy Tkinter conflict

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Adam

    Python - Runy Tkinter conflict

    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.[color=blue][color=green][color=darkred]
    >>> from Tkinter import *
    >>> root = Tk()[/color][/color][/color]
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "C:\Python23\li b\lib-tk\Tkinter.py", line 1564, in __init__
    self.tk = _tkinter.create (screenName, baseName, className)
    _tkinter.TclErr or: Can't find a usable init.tcl in the following
    directories:
    {c:\ruby\tcl\li b\tcl8.3} {c:\ruby\tcl\li b\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 ----->[color=blue][color=green][color=darkred]
    >>> root = Tk()[/color][/color][/color]
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "C:\Python23\li b\lib-tk\Tkinter.py", line 1564, in __init__
    self.tk = _tkinter.create (screenName, baseName, className)
    _tkinter.TclErr or: Can't find a usable init.tcl in the following
    directories:
    {c:\ruby\tcl\li b\tcl8.3} {c:\ruby\tcl\li b\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

Working...