By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,427 Members | 1,378 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,427 IT Pros & Developers. It's quick & easy.

Python 2.4 on Windows XP

P: n/a
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
Share this Question
Share on Google+
8 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
Thanks--you were all a big help. I'm running now.

:)

Jul 18 '05 #8

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.