Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15642 > unrolled thread

Uninstalling Py 2.5.2 from Windows 7

Started by"W. eWatson" <wolftracks@invalid.com>
First post2011-11-13 09:46 -0800
Last post2011-11-15 10:37 -0800
Articles 13 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  Uninstalling Py 2.5.2 from Windows 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-13 09:46 -0800
    Re: Uninstalling Py 2.5.2 from Windows 7 Irmen de Jong <irmen@-NOSPAM-xs4all.nl> - 2011-11-13 20:08 +0100
    Re: Uninstalling Py 2.5.2 from Windows 7 Terry Reedy <tjreedy@udel.edu> - 2011-11-13 17:08 -0500
      Re: Uninstalling Py 2.5.2 from Windows 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-13 16:06 -0800
        Re: Uninstalling Py 2.5.2 from Windows 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-13 16:17 -0800
          Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) "W. eWatson" <wolftracks@invalid.com> - 2011-11-13 21:19 -0800
            Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) John Gordon <gordon@panix.com> - 2011-11-14 15:24 +0000
              Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) "W. eWatson" <wolftracks@invalid.com> - 2011-11-14 07:42 -0800
                Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) John Gordon <gordon@panix.com> - 2011-11-14 16:15 +0000
                  Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) "W. eWatson" <wolftracks@invalid.com> - 2011-11-14 09:31 -0800
                    Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) John Gordon <gordon@panix.com> - 2011-11-14 18:00 +0000
                      Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) "W. eWatson" <wolftracks@invalid.com> - 2011-11-14 10:08 -0800
                    Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-15 10:37 -0800

#15642 — Uninstalling Py 2.5.2 from Windows 7

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-13 09:46 -0800
SubjectUninstalling Py 2.5.2 from Windows 7
Message-ID<j9ovpb$gpe$1@dont-email.me>
For many months I had sporadically used 2.5.2 under Win 7, then 
something went awry. I tried an uninstall/install and it didn't get any 
better. I thought I'd take another shot at it today. The uninstall went 
OK, but c:\python25 remained with several py files and a folder, Lib. I 
went ahead with the install and got a msg that asked if I wanted to 
write over the python25 folder.

I figured maybe I should ask about this. It's probably OK. Yes, I know I 
have an old version of Python, but I need it occasionally.

Comments?

[toc] | [next] | [standalone]


#15644

FromIrmen de Jong <irmen@-NOSPAM-xs4all.nl>
Date2011-11-13 20:08 +0100
Message-ID<4ec015b0$0$6927$e4fe514c@news2.news.xs4all.nl>
In reply to#15642
On 13-11-11 18:46, W. eWatson wrote:
> For many months I had sporadically used 2.5.2 under Win 7, then
> something went awry. I tried an uninstall/install and it didn't get any
> better. I thought I'd take another shot at it today. The uninstall went
> OK, but c:\python25 remained with several py files and a folder, Lib. I
> went ahead with the install and got a msg that asked if I wanted to
> write over the python25 folder.
>
> I figured maybe I should ask about this. It's probably OK. Yes, I know I
> have an old version of Python, but I need it occasionally.
>
> Comments?

Just go ahead and manually delete c:\python25 and everything in it.
But make sure that the leftover stuff in there is something you won't 
need again, or that you can get back by re-installing the third party 
library that it was part of.

Then re-install from the 2.5.2 msi. (Or perhaps 2.5.4).

Irmen

[toc] | [prev] | [next] | [standalone]


#15646

FromTerry Reedy <tjreedy@udel.edu>
Date2011-11-13 17:08 -0500
Message-ID<mailman.2685.1321222158.27778.python-list@python.org>
In reply to#15642
On 11/13/2011 12:46 PM, W. eWatson wrote:
> For many months I had sporadically used 2.5.2 under Win 7, then
> something went awry. I tried an uninstall/install and it didn't get any
> better. I thought I'd take another shot at it today. The uninstall went
> OK, but c:\python25 remained with several py files and a folder, Lib. I
> went ahead with the install and got a msg that asked if I wanted to
> write over the python25 folder.

Uninstall (should) only uninstall files that it installed and 
directories that are empty. The 'several py files' should be files that 
you or some third-party software installed. I personally put everything 
I write under /pythonxy in a subdirectory thereof that install and 
uninstall pay no attention to. The Lib directory contains all the 
python-coded stdlib modules. Unless you know there is something that you 
wrote that you want, I would delete it before re-installing.

I suspect that current installers work a bit better than 2.5. I would 
definitely use the latest 2.5.z that comes with an installer and not 
2.5.2. They are all the same version of the language. The only 
difference is bug fixes.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#15650

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-13 16:06 -0800
Message-ID<j9pm2r$4sm$1@dont-email.me>
In reply to#15646
On 11/13/2011 2:08 PM, Terry Reedy wrote:
> On 11/13/2011 12:46 PM, W. eWatson wrote:
>> For many months I had sporadically used 2.5.2 under Win 7, then
>> something went awry. I tried an uninstall/install and it didn't get any
>> better. I thought I'd take another shot at it today. The uninstall went
>> OK, but c:\python25 remained with several py files and a folder, Lib. I
>> went ahead with the install and got a msg that asked if I wanted to
>> write over the python25 folder.
>
> Uninstall (should) only uninstall files that it installed and
> directories that are empty. The 'several py files' should be files that
> you or some third-party software installed. I personally put everything
> I write under /pythonxy in a subdirectory thereof that install and
> uninstall pay no attention to. The Lib directory contains all the
> python-coded stdlib modules. Unless you know there is something that you
> wrote that you want, I would delete it before re-installing.
>
> I suspect that current installers work a bit better than 2.5. I would
> definitely use the latest 2.5.z that comes with an installer and not
> 2.5.2. They are all the same version of the language. The only
> difference is bug fixes.
>
Thanks to both of you. Deleting python25 folder. Nothing of personal use 
in it.

[toc] | [prev] | [next] | [standalone]


#15651

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-13 16:17 -0800
Message-ID<j9pmm9$e11$1@dont-email.me>
In reply to#15650
Well, let be a careful a little more. I have PIL, numpy, scipy, 
pymatplotlib and pyephem installed, I think. There are Remove....exe 
files in the python25 folder for them.  There's also a Removepy2exe.exe. 
Probably that was somehow used to get out py2.5.

[toc] | [prev] | [next] | [standalone]


#15657 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-13 21:19 -0800
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<j9q8cs$3al$1@dont-email.me>
In reply to#15651
I just pushed aside the python25 folder by renaming it, and installed py 
2.5.2. However, when I try to open the simplest of py programs with 
IDLE, I get an error from Win7.

c:\Users\blah\...\junk.py is not a valid Win 32 app.

Here's one:
def abc(one):
     print "abc: ", one, " is one"

def duh(two):
     print "duh: ",abc(2)

abc(1)
duh(2)
duh("so what")
abc(36.333)

[toc] | [prev] | [next] | [standalone]


#15668 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

FromJohn Gordon <gordon@panix.com>
Date2011-11-14 15:24 +0000
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<j9rbqk$art$1@reader1.panix.com>
In reply to#15657
In <j9q8cs$3al$1@dont-email.me> "W. eWatson" <wolftracks@invalid.com> writes:

> I just pushed aside the python25 folder by renaming it, and installed py 
> 2.5.2. However, when I try to open the simplest of py programs with 
> IDLE, I get an error from Win7.

> c:\Users\blah\...\junk.py is not a valid Win 32 app.

Are you double-clicking on the .py file?

What application is associated with .py files?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [next] | [standalone]


#15669 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-14 07:42 -0800
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<j9rct4$frh$1@dont-email.me>
In reply to#15668
On 11/14/2011 7:24 AM, John Gordon wrote:
> In<j9q8cs$3al$1@dont-email.me>  "W. eWatson"<wolftracks@invalid.com>  writes:
>
>> I just pushed aside the python25 folder by renaming it, and installed py
>> 2.5.2. However, when I try to open the simplest of py programs with
>> IDLE, I get an error from Win7.
>
>> c:\Users\blah\...\junk.py is not a valid Win 32 app.
>
> Are you double-clicking on the .py file?
Yes.
>
> What application is associated with .py files?

Application? Simple ones, including the one i put here that you
removed to answer my question.

[toc] | [prev] | [next] | [standalone]


#15672 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

FromJohn Gordon <gordon@panix.com>
Date2011-11-14 16:15 +0000
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<j9rerg$2og$1@reader1.panix.com>
In reply to#15669
In <j9rct4$frh$1@dont-email.me> "W. eWatson" <wolftracks@invalid.com> writes:

> > What application is associated with .py files?

> Application? Simple ones, including the one i put here that you
> removed to answer my question.

Eh?  I can't see anywhere that you mentioned your Windows settings as
to what application is associated with .py files.

(You mentioned running IDLE, but I don't see that it was given as the
default application for opening .py files.)

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [next] | [standalone]


#15679 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-14 09:31 -0800
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<j9rja5$qcp$1@dont-email.me>
In reply to#15672
On 11/14/2011 8:15 AM, John Gordon wrote:
> In<j9rct4$frh$1@dont-email.me>  "W. eWatson"<wolftracks@invalid.com>  writes:
>
>>> What application is associated with .py files?
>
>> Application? Simple ones, including the one i put here that you
>> removed to answer my question.
>
> Eh?  I can't see anywhere that you mentioned your Windows settings as
> to what application is associated with .py files.
>
> (You mentioned running IDLE, but I don't see that it was given as the
> default application for opening .py files.)
>
I would think the install would make the association of py to Python, 
either IDLE or the interpreter. If I right-click on a py file, it asks 
me for "Open with". If I select idle.pyw, it gives me the message I 
posted earlier.

[toc] | [prev] | [next] | [standalone]


#15683 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

FromJohn Gordon <gordon@panix.com>
Date2011-11-14 18:00 +0000
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<j9rl0c$qko$1@reader1.panix.com>
In reply to#15679
In <j9rja5$qcp$1@dont-email.me> "W. eWatson" <wolftracks@invalid.com> writes:

> I would think the install would make the association of py to Python, 
> either IDLE or the interpreter.

I would hope so too, however you did mention that you moved the python
executable to a different directory and installed a newer version, so
verifying that the .py file association points to the correct application
might be worthwhile.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

[toc] | [prev] | [next] | [standalone]


#15685 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

From"W. eWatson" <wolftracks@invalid.com>
Date2011-11-14 10:08 -0800
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<j9rlej$a6p$1@dont-email.me>
In reply to#15683
On 11/14/2011 10:00 AM, John Gordon wrote:
> In<j9rja5$qcp$1@dont-email.me>  "W. eWatson"<wolftracks@invalid.com>  writes:
>
>> I would think the install would make the association of py to Python,
>> either IDLE or the interpreter.
>
> I would hope so too, however you did mention that you moved the python
> executable to a different directory and installed a newer version, so
> verifying that the .py file association points to the correct application
> might be worthwhile.
>
Note though I had uninstalled Python. The folder remained, so I renamed 
it, then installed. I see no way that under that arrangement that py 
would be associated with the renamed contents. The renamed folder has no 
exe file for the interpreter. There is, of course, a new Python25 that 
shows python.exe and pythonw.exe. python.exe will bring up a command 
window.

[toc] | [prev] | [next] | [standalone]


#15729 — Re: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2011-11-15 10:37 -0800
SubjectRe: Uninstalling Py 2.5.2 from Windows 7 (Invalid on Win 32 app)
Message-ID<mailman.2740.1321382238.27778.python-list@python.org>
In reply to#15679
On Mon, 14 Nov 2011 09:31:47 -0800, "W. eWatson"
<wolftracks@invalid.com> declaimed the following in
gmane.comp.python.general:


> I would think the install would make the association of py to Python, 
> either IDLE or the interpreter. If I right-click on a py file, it asks 
> me for "Open with". If I select idle.pyw, it gives me the message I 
> posted earlier.

	IDLE itself is just a Python SCRIPT itself -- it needs python.exe
(or pythonw.exe to avoid a console window) to run. You need python to
run IDLE to access your own script (for editing). If clicking on your
own script doesn't run, then neither will IDLE.

	If double-clicking on your own .py/.pyw file won't run, then nothing
invoking another .py/.pyw is likely to run either.

	I do have to confess that after a registry corruption which killed
my original user account, not all my software is fully functional... I
just had to define pythonw.exe to be the application for .pyw files.

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web