FAQ

On Tue, 5 Aug 2003 19:56:42 +0200, "Bernard Delm?e" wrote:
Has anyone else experienced this and can anyone give me some advice on
how to fix it?
Works for me, on Win2000. I've never used XP, but I'd suggest:

*) opening a command-prompt box
*) cd'ing to %PYTHON_HOME%\lib\idlelib
(where PYTHON_HOME=C:\python23 unless changed at install time)
*) ..\..\python idle.py

watch out for error messages, and let us know...
Hi Bernard,

Well, yes, it seems there is a problem. Having followed your
instructions, I get the following error(s):

C:\Python23\Lib\idlelib>..\..\python idle.py
Traceback (most recent call last):
File "idle.py", line 23, in ?
idlelib.PyShell.main()
File "C:\Python23\lib\idlelib\PyShell.py", line 1264, in main
root = Tk(className="Idle")
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:\program files\ruby\tcl\lib\tcl8.3} {c:\program
files\ruby\tcl\lib\tcl8.3} {c:/program files/ruby/tcl/lib/tcl8.4}
C:/Pytho
n23/lib/tcl8.4 C:/lib/tcl8.4 C:/library

c:/program files/ruby/tcl/lib/tcl8.3/init.tcl: version conflict for
package "Tcl": have 8.4, need 8.3
version conflict for package "Tcl": have 8.4, need 8.3
while executing
"package require -exact Tcl 8.3"
(file "c:/program files/ruby/tcl/lib/tcl8.3/init.tcl" line 19)
invoked from within
"source {c:/program files/ruby/tcl/lib/tcl8.3/init.tcl}"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
c:/program files/ruby/tcl/lib/tcl8.3/init.tcl: version conflict for
package "Tcl": have 8.4, need 8.3
version conflict for package "Tcl": have 8.4, need 8.3
while executing
"package require -exact Tcl 8.3"
(file "c:/program files/ruby/tcl/lib/tcl8.3/init.tcl" line 19)
invoked from within
"source {c:/program files/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.

It appears the fact that I also have ruby installed is causing the
problem? Should I uninstall ruby, do you think, and try re-installing
python? I'd prefer to have access to both of them, but Python is the
language I want to concentrate on at present.

Thank you for your help!

Much warmth,

Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
one snide comment at a time...

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 9 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedAug 5, '03 at 4:54p
activeAug 6, '03 at 3:20a
posts9
users6
websitepython.org

People

Translate

site design / logo © 2022 Grokbase