Hi, I'm going to short circuit my post of about an hour ago that had a jpg file attached.  It may catch up later.

What I discovered is that changing the env variable made no difference.

On 11/14/2011 2:25 PM, Wayne Werner wrote:
On Mon, Nov 14, 2011 at 4:08 PM, Wayne Watson <[email protected]> wrote:
I had py 2.5.2 installed (Yes, I know it's old) on my Win 7 64-bit PC earlier this year, but it began to fail back in June.  I tried a uninstall/install, but that got me nowhere.  I tried again yesterday. Uninstalled, then puzzled over whether I should delete the remaining python25 folder.  There were a few files in it. Nothing that looked relevant of use any longer.  I did notice several Remove....exe files for numpy, scipy and others.  Rather than chance messing up python25, I renamed it, then installed 2.5.2.

I found that every time I tried to activate a py file, or open it in IDLE, I would get an error that said something like this:
c:\Users\blah\...\junk.py is not a valid Win 32 app. (or idle.pyw)

Comments?

Not specifically a Python program - more Windows-related than anything.

That being said, it sounds an awful lot like the python.exe isn't in your path. To get it there you can open windows explorer (WIN+E) right click on computer > properties then click advanced system settings. In the window that pops up, click the "environment variables" button. In the "system variables" portion, find the path variable and click the "Edit..." button. Assuming that your new installation was placed in C:\Python25\ you will want to add ";C:\Python25\" (the semicolon is important!) to the end of your path.

Then you should be able to open the .py files.

HTH,
Wayne

-- 
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet

             "My suspicion is that the universe is not only queerer 
              than we suppose, but queerer than we can suppose." --
              Physiologist and Geneticist J.B.S. Haldane 1860-1936

                    (Maybe not, Dr. Haldane. We have an 
                     amazing imagination)
        
                    Web Page: <www.speckledwithstars.net/>


_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to