473,224 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

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.
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

Jul 18 '05 #1
0 2327

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vin Jovanovic | last post by:
Trying to start Python IDLE through Start>Programs>Python 2.3> IDLE doesn't work From DOS ... I get this .... C:\>python C:\Python23\Lib\idlelib\idle.py Traceback (most recent call last):...
4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
2
by: huwind | last post by:
Hi, I got a problem with Python IDLE to run Tkinter application. I use thread to start a Tkinter application. It works fine on Linux when I invoke the program from command line. But when I try...
10
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. ...
1
by: John Chambers | last post by:
Sp my latest adventure is attempting to use python's Tkinter module on a few machines. On my PB (OSX 10.3.9), I got the following confusing results: /Users/jc: python Python 2.3 (#1, Sep 13...
5
by: Ben Kovitz | last post by:
Hi, I just tried to run Tkinter on OS X 10.3.9 under Python 2.4.3, and I'm getting a bus error as soon as I call Tk(). Googling has turned up info other Tkinter bus errors, but not this one that...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 357 open ( +8) / 3745 closed ( +8) / 4102 total (+16) Bugs : 958 open (+19) / 6657 closed ( +9) / 7615 total (+28) RFE : 251 open...
13
by: Daniel Fetchinson | last post by:
Was looking at PEP 3108, http://www.python.org/dev/peps/pep-3108/ , Is it just me or others also think that it would be a major loss to remove tkinter from the python core? PEP 3108 starts off...
8
by: karthikbalaguru | last post by:
Hi, One of my python program needs tkinter to be installed to run successfully. I am using Redhat 9.0 and hence tried installing by copying the tkinter-2.2.2-36.i386.rpm alone from the CD 3 to...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.