[Tutor] Trouble installing Python on Win7 (not a valid Win 32 app)

Marc Tompkins marc.tompkins at gmail.com
Tue Nov 15 03:17:33 CET 2011


On Mon, Nov 14, 2011 at 4:55 PM, Wayne Watson
<sierra_mtnview at sbcglobal.net>wrote:

>
>
> On 11/14/2011 4:04 PM, Marc Tompkins wrote:
>
> On Mon, Nov 14, 2011 at 4:00 PM, Wayne Watson <
> sierra_mtnview at sbcglobal.net> wrote:
>
>>  I do not see Python listed there. I see Word Pad, Winamp, Paint, ...
>>
>> I'm at CP/All CP Items/Default prgrms/Set Defaults
>>
>>
> My bad.  It's Control Panel\Programs\Default Programs\Set Associations.
>
> (I could be wrong, but wasn't this all in one place in previous
> versions...?)  Anyway, scroll down to .py/.pyc/.pyo/.pyw, and I bet you'll
> find it pointing to a no-longer-valid installation.
>
> py is listed as idle.pyw
>
This is NOT the default behavior (the default is python.exe) - I suspect
you must have changed this for convenience when you first installed your
old version of Python.


> pyw as pythonw.exe (no console)
> pyc/pyo as python.exe.
>

It's stupid and irritating, but Windows only gives you the executable name
- not the path.  Out of curiosity, does it show you the correct icons, or
does it show you some generic Windows program icon, or something broken?

In any case, click "Change program...", then "Browse" to the current proper
locations, and click OK.  This should (finally) fix your problem...

The uninstall/install should have fixed this, but there are a lot of things
that could interfere - perhaps you didn't run it as Administrator, perhaps
it tripped over your previously-modified setting, perhaps the installer is
buggy, perhaps gremlins are trying to mess with your head...?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111114/696f84a8/attachment.html>


More information about the Tutor mailing list