473,395 Members | 1,623 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,395 software developers and data experts.

IDLE Problem: win98\Python2.4

This sure seems like it would have been
brought up but I checked Google Groups
(the dejanews replacement) and saw
nothing: I installed Python2.4 in Win98
and IDLE doesn't work (neither does the
online manual even tho a 3.6KB Python24.chm
is there, but that's a story for another
day) - that is, clicking on the IDLE icon
in the Start menu just gives a brief hourglass
cursor and then nothing . . .

From a DOS prompt (in C:\Python24) I can do
'python lib\idlelib\idle.py' and get a list
of errors, not being able to find tcl8.4 in
a number of paths, none of which exist in
the c:\python24 as installed. I moved tcl84.lib
into a directory it does search and got fewer
errors msg's, the last being like 'can't find
a usable init.tcl.' Moved init.tcl to the same
dir as tcl84.lib, got even fewer errors, the
last being like
"_tkinter.TclError: invalid cmd name "tcl_findLibrary"

So I'm stuck. I uninstalled Py2.4, installed Py2.3.5,
again same thing . . . IDLE just does not come up
with the tcl paths of the standard install.

www.python.org gives answer to problems w/IDLE on Py1.5
from 1999 and shows adding tcl\bin to %PATH%. OK . . .

What to try next? SOMEONE else must have seen this?
\kim
Jul 18 '05 #1
3 1580

kim kubik wrote:
This sure seems like it would have been
brought up but I checked Google Groups
(the dejanews replacement) and saw
nothing: I installed Python2.4 in Win98
and IDLE doesn't work (neither does the
online manual even tho a 3.6KB Python24.chm
is there, but that's a story for another
day) - that is, clicking on the IDLE icon
in the Start menu just gives a brief hourglass
cursor and then nothing . . .


Are you also running Ruby? The Ruby bundle for MS Windows has caused
problems with it's TCL package conflicting with Python's.

Search comp.lang.python on Google Groups for: Ruby TCL

Jul 18 '05 #2
kim kubik wrote:
I installed Python2.4 in Win98
and IDLE doesn't work
Are you also running Ruby? The Ruby bundle for MS Windows has caused
problems with it's TCL package conflicting with Python's.

thanks, one of the first things I noted in the error msg
(not included for brevity) was that the ruby search
path in AUTOEXEC.BAT was ahead of the python path (and
ruby had tcl83.lib) so I REM'd all the tcl stuff out.
AND THEN (stupid me!) I put into AUTOEXEC.BAT
'set TCL_LIBRARY=c:\python23\tcl' thinking that
would point python to the proper libs. What a mistake!
If I take that line out (and leave the ruby stuff REM'd
out as well) IDLE runs just fine. So thanks!

A little knowledge is indeed a dangerous thing; forgive my
stupidity - it will happen again, so I'm apologizing in advance!
\kim
Jul 18 '05 #3
kim kubik wrote:
A little knowledge is indeed a dangerous thing; forgive my
stupidity - it will happen again, so I'm apologizing in advance!


No need to apologize! This is a frequent mistake, and it might
be sensible to change Python to be more resistent against it.
For example, it might be possible to check whether TCL_LIBRARY
points to a "good" Tcl version if set, in lib-tk/FixTk.py.
Then, if it is somehow determined to be incorrect (i.e. by
containing an outdated tcldll, but no current one), TCL_LIBRARY
could be ignored, and the included library could be used.

Alternatively, a more detailed warning if import _tkinter
failed and TCL_LIBRARY is set could be produced (instead
of silently "fixing" the problem for the user).

Patches in this direction are welcome.

Regards,
Martin
Jul 18 '05 #4

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

Similar topics

2
by: Thomas Rivas | last post by:
Unable to launch IDLE(fork?) from the new Py 2.3. Anybody else have this problem. Solutions? Thanks. Tom Rivas
16
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine...
15
by: Aubrey Hutchison | last post by:
### this will test if your version of IDLE on windows is a MATURE program design ### print "Hello world, If Python IDLE is a mature program design it will output this" Save this simple...
1
by: dbrown2 | last post by:
I typically use IDLE for editing and debug. On Windows at least, IDLE and the standard turtle graphics module do not mix. I think both use Tkinter. For now I use IPython and Jedit when using...
8
by: Jonathan Polley | last post by:
I have one account on a WindowsXP machine that refuses to run IDLE (or any other python script that uses Tk). Other people can login to that PC and IDLE runs just fine, so it is not an...
0
by: Dave | last post by:
Hi, I installed 2.4.1 on both my wife's & my computer. Her idle (pyw) starts fine, but mine doesn't. I have had previous versions on my computer as well as idlefork, but I removed them before...
0
by: Stefan Felkel | last post by:
hi! i have searched a lot in these pgsql-groups and on the internet, but found no really helpful information for my problem. the famous error >> database "xyz" is being accessed by other...
3
by: Rob | last post by:
I have Python 2.4.3 installed on Windows XP on both a real computer and a virtual machine under VMware. Just recently, IDLE stopped working. I would select IDLE from the start menu or right click...
5
by: Russ P. | last post by:
I've been programming in python for a few years using XEmacs on Solaris and Linux. I've been thinking about trying IDLE for a long time, but either it wasn't available on my system or I...
6
by: Andreas Tawn | last post by:
I'm trying to integrate the timeout function from here http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473878 into a long running automation script and the following code causes IDLE after...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.