Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python 2.4 on Windows XP

Reply
Thread Tools

Python 2.4 on Windows XP

 
 
DavidHolt
Guest
Posts: n/a
 
      01-05-2005
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

 
Reply With Quote
 
 
 
 
It's me
Guest
Posts: n/a
 
      01-05-2005
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" <> wrote in message
news: 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
>



 
Reply With Quote
 
 
 
 
Peter Hansen
Guest
Posts: n/a
 
      01-05-2005
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
 
Reply With Quote
 
Jeff Shannon
Guest
Posts: n/a
 
      01-05-2005
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



 
Reply With Quote
 
It's me
Guest
Posts: n/a
 
      01-05-2005
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" <> wrote in message
news:...
> 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
>
>
>



 
Reply With Quote
 
Scott David Daniels
Guest
Posts: n/a
 
      01-05-2005
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

 
Reply With Quote
 
Jeff Shannon
Guest
Posts: n/a
 
      01-05-2005
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

 
Reply With Quote
 
DavidHolt
Guest
Posts: n/a
 
      01-05-2005
Thanks--you were all a big help. I'm running now.



 
Reply With Quote
 
It's me
Guest
Posts: n/a
 
      01-05-2005
Thanks, Jeff.

That works.


"Jeff Shannon" <> wrote in message
news:...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Windows logon Screen in Windows 7 and Windows 2008 Tech Guy Windows 64bit 0 04-27-2011 12:59 PM
!Windows Live Mail replace Outlook Express on Windows XP and Windows Mail on Vista... Max Burke NZ Computing 8 05-18-2007 12:10 AM
troubles building python 2.5 on Windows XP x64 Windows Server 2003 sp1 Platform SDK bhochstetler@gmail.com Python 8 04-11-2007 10:45 PM
Windows installer, different versions of Python on Windows Max M Python 1 10-10-2005 01:26 PM
compiling mysql-python for python 2.3 on windows Achim Domma Python 0 07-19-2003 08:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57