473,614 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to run IDLE from 2.3?

Hi all,

I recently downloaded and installed Python 2.3 for Windows (on XP
professional) and I don't seem to be able to run IDLE from my start
menu? It seems something happens when I click on it (ie I get an
hourglass) but no actual application turns up.

Has anyone else experienced this and can anyone give me some advice on
how to fix it?

Much warmth,

Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
one snide comment at a time...
Jul 18 '05 #1
6 1943
> 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%\l ib\idlelib
(where PYTHON_HOME=C:\ python23 unless changed at install time)
*) ..\..\python idle.py

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

Jul 18 '05 #2
<posted & mailed>

M Wells wrote:
I recently downloaded and installed Python 2.3 for Windows (on XP
professional) and I don't seem to be able to run IDLE from my start
menu? It seems something happens when I click on it (ie I get an
hourglass) but no actual application turns up.

Has anyone else experienced this and can anyone give me some advice on
how to fix it?


There are two known causes for this bug:

-- you installed Python in a directory with a space in its path

Workaround: uninstall it, install it again in a directory with
no spaces in its path, e.g. its default C:\Python23

-- you are running a "personal firewall" that is set to inhibit
connections to host 127.0.0.1

Workaround: remove your "personal firewall" or at least reprogram
it so that connections to 127.0.0.1 are allowed; 127.0.0.1 in
TCP/IP means "this very host, me, myself" and therefore there is
no way in which connections to this address can put you at risk.

IDLE 1.0 uses sockets for communication between the 'main' process
and a secondary process that's set up to run code being developed,
and some misprogrammed 'personal firewalls' are known to interfere
with this. In theory, it is conceivable that a bad installation
of "networking " on some Windows machine might cause the same
effect as a misconfigured 'personal firewall', but so far in each
case I've analyzed it did boil down to 'personal firewalls'.
It's not necessarily the case that your troubles come from either
of these known causes, but please check both of them -- if it's
something else again, we'll need to root around for it.
Alex

Jul 18 '05 #3
M Wells <ur*********@oz email.com.au> writes:
I recently downloaded and installed Python 2.3 for Windows (on XP
professional) and I don't seem to be able to run IDLE from my start
menu? It seems something happens when I click on it (ie I get an
hourglass) but no actual application turns up.

Has anyone else experienced this and can anyone give me some advice on
how to fix it?


Do you have any form of "personal firewall" software? There is a known
issue when Idle is used with a (misconfigured) firewall. The problem
is that Idle relies on an internal socket connection. If the firewall
is set to block that socket, Idle won't start. There should be no need
to block traffic to IP address 127.0.0.1 (the local machine) so the
firewall settings should be changed to allow this.

For a better explanation, see http://www.python.org/2.3/bugs.html

Hope this helps,
Paul.
--
This signature intentionally left blank
Jul 18 '05 #4
> 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.


I seem to recall ruby defines tcl/tk related environment variables
which may interfere with python. If you are not using ruby-tk,
I don't think you need to de-install but merely un-defining those
variables should correct the situation. I think that's what I did
long ago so I don't see those variable names myself, and can't
be more specific....

HTH,

Bernard.

Jul 18 '05 #5
On Tue, Aug 05, 2003 at 03:14:22PM -0400, Tim Peters wrote:
In addition to the two possible causes Alex spelled out, another common
problem is some *other* program setting up Tcl or Tk environment variables
pointing to an inappropriate version of Tcl/Tk. The installer for Ruby is
the most common culprit for this problem, so if you've installed Ruby that's
probably the cause.


I'm battling what seems to be a related issue on RH 9 (accursed Red Hat!). I
installed 2.3 from src tarball last week, and it worked fine. The new Idle
is very sexy. Yay, idle.

Then last night I decided to upgrade from RH 8 to RH 9 (accursed Red Hat!).
That was a disaster on many fronts (it's not a good thing to have corrup CD
media on the 3rd disc of a KRUD update...argh!) , but it also totally trashed
my 2.3's _tkinter.so. Now when I try to rebuild 2.3 from src, I can't seem
to get a _tkinter.so which points to valid tcl & tk libraries (despite using
"--with-libs="" to point to the libtcl & libtk RH 9 installed).

(The extent of my dynamic library fu on Linux is to futz around with
symlinks from the places where _tkinter.so wants to find tcl/tk libs to the
places where they actually are on my RH 9 (accursed Red Hat!) system, then
to rerun /sbin/ldconfig. This "trick" didn't work either.)

So I decided that RH is completely evil (accursed Red Hat!), and I would
just install Tk & Tcl from scratch in /usr/local/lib and rebuild 2.3 using
those libs, like this:

./configure --with-libs="/usr/local/lib/libtcl8.4.so \
/usr/local/lib/libtk8.4.so"

This works, but goddam what a pain in my ass...In case it's now clear by
now: I hate Red Hat (though hitting back at SCO is pretty cool, trying to
keep up with Python on a RH box has been way too painful for far too long).

I recommend repeated playings, at max volume, of Bob Dylan's "Idiot Wind" if
you have to fight this battle -- it seemed to help my mood.

Kendall Clark
--
Jazz is only what you are. -- Louis Armstrong

Jul 18 '05 #6
On Tue, 5 Aug 2003 22:08:02 +0200, "Bernard Delmée"
<bd*****@advalv as.REMOVEME.be> wrote:
I seem to recall ruby defines tcl/tk related environment variables
which may interfere with python. If you are not using ruby-tk,
I don't think you need to de-install but merely un-defining those
variables should correct the situation. I think that's what I did
long ago so I don't see those variable names myself, and can't
be more specific....


Hi Bernard,

Worked perfectly!

Removed the ruby variables and now IDLE is running! Thank you to you
(and also to the others that replied) for your help!

Much warmth,

Murray
http://www.planetthoughtful.org
Building a thoughtful planet,
one snide comment at a time...
Jul 18 '05 #7

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

Similar topics

16
12917
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 otherwise. Most interesting to me is that a reboot won't fix the problem. But if I just try it again sometime later it will work. Anyone have any ideas? I'm running python 2.3 on windows 2000 professional.
1
5443
by: Moosebumps | last post by:
So say I am working on two separate .py files in IDLE that are part of the same program. Does anyone have problems where when you modify one file, and then run the other, the changes you made in the first aren't updated? I usually just close all the files, and restart IDLE, but this is a pain. Maybe because I always use right click -> edit with IDLE (on Windows). That starts up a separate Python Shell too, which I always close. MB
1
6720
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 the turtle module but it's not a great solution for me. Is there any known work-around to use turtle with IDLE? If not is there a planned fix for the problem. I find turtle is a convenient way to do simple graphics without having to install...
8
3765
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 installation issue. When the person who has the problem logs into another PC the problem follows them. Any ideas as to what might me wrong? This is the traceback from IDLE: C:\Python20\Tools\idle>..\..\python.exe idle.py Traceback (most recent call...
5
5641
by: apple | last post by:
UDBV8 fp 6a - AIX 5.1 We have scheduled cron jobs to do backups. Periodically and starting to occur more frequently, a backup fails with this error: SQL2072N Unable to bind the shared library "". Reason code: "". We are backing up to a file system on the server. Can't find anything in the logs. We can manually resubmit the job 15 or 30 minutes later and everything works fine. Any ideas on what might be happening? The documentation on...
19
46609
by: Frank Rizzo | last post by:
I want to log the user out when there has been a period of inactivity in the application. The key here is inactivity of the application, not the system. I know that you can retrieve the inactivity of the system via GetLastInputInfo. That's not what I want - I want inactivity of the application. Thanks.
7
1978
by: iwdu15 | last post by:
how can i tell if my system has gone idle? then how can i execute a command accordingly? thnks
6
3388
by: Solje | last post by:
Im developing an ASP.NET application used for maintinance purpose and it may be idle for some ours. The application crash with the error shown below when the user click on some contol in the appliaction. This crash occurs on every clients at same time, event for the client at the local server. I added some logging to the Application_Error method that contains following: Exception of type System.Web.HttpUnhandledException was thrown. at...
5
2785
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 procrastinated. I finally have it available, and I gave it a try. I immediately encountered a basic problem for which I could not find a solution in the intro docs. I want to run a script in one directory that reads input from a file in another directory....
0
8179
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8124
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8272
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8427
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5538
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4119
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2565
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1421
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.