473,385 Members | 1,730 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,385 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 2338

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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.