473,405 Members | 2,185 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,405 software developers and data experts.

Python 2.4 on Windows XP

I have a problem that I see on two different machines, one running XP
SP1 and one XP SP 2.

On both I installed Python 2.4.

I can't seem to start IDLE. When I try to start it, I get an hourglass
cursor for a short time then nothing more happens. This happens whether
I click the IDLE shortcut or click the pythonw.exe directly, or attempt
to launch pythonw from a command line.

I don't have any trouble running the python command line version.

Any ideas?
Thanks,
David Holt
Software Developer
HighJump Software, a 3M Company

Jul 18 '05 #1
8 2729
I am running 2.3 and it's doing the same thing on my computer - except that
I can't even get it to start from the command prompt.

It used to work but after I switched back and forth between 2.3, and 2.4 and
somewhere in between, it stopped working.

I hope somebody on the list would have a clue how to fix this.
"DavidHolt" <Da********@mmm.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I have a problem that I see on two different machines, one running XP
SP1 and one XP SP 2.

On both I installed Python 2.4.

I can't seem to start IDLE. When I try to start it, I get an hourglass
cursor for a short time then nothing more happens. This happens whether
I click the IDLE shortcut or click the pythonw.exe directly, or attempt
to launch pythonw from a command line.

I don't have any trouble running the python command line version.

Any ideas?
Thanks,
David Holt
Software Developer
HighJump Software, a 3M Company

Jul 18 '05 #2
DavidHolt wrote:
I have a problem that I see on two different machines, one running XP
SP1 and one XP SP 2.
Works fine here. (First time I've run it though... don't use it.)
On both I installed Python 2.4.

I can't seem to start IDLE. When I try to start it, I get an hourglass
cursor for a short time then nothing more happens. This happens whether
I click the IDLE shortcut or click the pythonw.exe directly, or attempt
to launch pythonw from a command line.
Try python.exe instead of pythonw.exe, also from the command line.
That should give you *some* kind of additional detail.
I don't have any trouble running the python command line version.


Do you mean "python.exe" here? Are you saying that you
can run IDLE using python.exe, but not using pythonw.exe?
Or something else? It's not clear.

-Peter
Jul 18 '05 #3
DavidHolt wrote:
I have a problem that I see on two different machines, one running XP
SP1 and one XP SP 2.

On both I installed Python 2.4.

I can't seem to start IDLE. When I try to start it, I get an hourglass
cursor for a short time then nothing more happens. This happens whether
I click the IDLE shortcut or click the pythonw.exe directly, or attempt
to launch pythonw from a command line.


Maybe I'm misinterpreting you, here, but pythonw.exe is *not* IDLE.
It is, instead, a console-less version of the Python interpreter,
which can run the Python scripts for IDLE (among other things).

My version of Python is older, but in %pythondir%/Tools/idle, there is
an idle.pyw file. Try running that. If it doesn't work, then copy &
paste any error messages (you'll probably need to run it from a
command line for this) to your next post here so that we can try to
troubleshoot a bit more effectively.

Jeff Shannon
Technician/Programmer
Credit International

Jul 18 '05 #4
In my case, there is *no* error message of any kind. When I run pythonw.exe
from the python23 directory, the screen blinked slightly and goes back to
the command prompt.

"Jeff Shannon" <je**@ccvcorp.com> wrote in message
news:10*************@corp.supernews.com...
DavidHolt wrote:
I have a problem that I see on two different machines, one running XP
SP1 and one XP SP 2.

On both I installed Python 2.4.

I can't seem to start IDLE. When I try to start it, I get an hourglass
cursor for a short time then nothing more happens. This happens whether
I click the IDLE shortcut or click the pythonw.exe directly, or attempt
to launch pythonw from a command line.


Maybe I'm misinterpreting you, here, but pythonw.exe is *not* IDLE.
It is, instead, a console-less version of the Python interpreter,
which can run the Python scripts for IDLE (among other things).

My version of Python is older, but in %pythondir%/Tools/idle, there is
an idle.pyw file. Try running that. If it doesn't work, then copy &
paste any error messages (you'll probably need to run it from a
command line for this) to your next post here so that we can try to
troubleshoot a bit more effectively.

Jeff Shannon
Technician/Programmer
Credit International

Jul 18 '05 #5
Jeff Shannon wrote:
DavidHolt wrote:
I have a problem that I see on two different machines, one running XP
SP1 and one XP SP 2.... On both I installed Python 2.4.
I can't seem to start IDLE. When I try to start it, I get an hourglass
cursor for a short time then nothing more happens. This happens whether
I click the IDLE shortcut or click the pythonw.exe directly, or attempt
to launch pythonw from a command line.


Maybe I'm misinterpreting you, here, but pythonw.exe is *not* IDLE. It
is, instead, a console-less version of the Python interpreter, which can
run the Python scripts for IDLE (among other things).

My version of Python is older, but in %pythondir%/Tools/idle, there is
an idle.pyw file. Try running that.

On 2.4, the directory is:

%pythondir%/Lib/idlelib

Remember that for Windows, \ is the separator. SO, change an idle
shortcut to, for example:

C:\Python24\Python.exe C:\Python24\Lib\idlelib\idle.pyw

I suspect your real problem is the internal firewall in XP,
in which case you'll need to allow building sockets to LOCALHOST
(127.0.0.1) on port 8833, or, alternatively, start idle with the
"-n" flag.

--Scott David Daniels
Sc***********@Acm.Org
Jul 18 '05 #6
It's me wrote:
In my case, there is *no* error message of any kind. When I run pythonw.exe
from the python23 directory, the screen blinked slightly and goes back to
the command prompt.


Right -- pythonw.exe is a console-less interpreter. Having no
console, it doesn't have an interactive mode, and since you didn't
give it a script to run, it simply started, found nothing to do, and
then terminated itself.

You need to run idle.pyw, *not* pythonw.exe. The idle.pyw script runs
inside the pythonw.exe interpreter, but the latter can't do anything
without instructions.

Jeff Shannon
Technician/Programmer
Credit International

Jul 18 '05 #7
Thanks--you were all a big help. I'm running now.

:)

Jul 18 '05 #8
Thanks, Jeff.

That works.
"Jeff Shannon" <je**@ccvcorp.com> wrote in message
news:10*************@corp.supernews.com...
It's me wrote:
In my case, there is *no* error message of any kind. When I run pythonw.exe from the python23 directory, the screen blinked slightly and goes back to the command prompt.


Right -- pythonw.exe is a console-less interpreter. Having no
console, it doesn't have an interactive mode, and since you didn't
give it a script to run, it simply started, found nothing to do, and
then terminated itself.

You need to run idle.pyw, *not* pythonw.exe. The idle.pyw script runs
inside the pythonw.exe interpreter, but the latter can't do anything
without instructions.

Jeff Shannon
Technician/Programmer
Credit International

Jul 18 '05 #9

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

Similar topics

8
by: Will | last post by:
I just discovered Python and looked briefly at one of the tutorials for beginners... It looks a lot like the old Command line Basic... I'm sure it does much more but... 1 - Can you create...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 407 open ( +3) / 3393 closed (+17) / 3800 total (+20) Bugs : 888 open (+28) / 6145 closed (+14) / 7033 total (+42) RFE : 232 open...
24
by: Joe Salmeri | last post by:
I just upgraded from Python 2.4.2 to Python 2.5.1 and have found some unexpected behavior that appears to be a bug in the os.stat module. My OS is Windows XP SP2 + all updates. I have several...
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,...
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.