f



Python 2.4.2 to 2.4.3 transition issue

OS: Windows XP + SP1

On this particular box, I hadn't moved to 2.4.3 yet.
So, earlier today, I uninstalled Python2.4.2 and installed 2.4.3 using
the .msi installer.

It seems though everything looked great, that when I invoke 'python'
from the command line, I get Python2.4.2 (as the header states),
instead of 2.4.3.

I looked at the registry and at the PATH variables of both system and
current user, but they are just stating 'C:\Python24\'.

When I explicitly call C:\Python24\python.exe though, 2.4.3 comes up.

Any ideas what seems to be the problem here?

0
5/4/2006 8:01:17 PM
comp.lang.python 77058 articles. 6 followers. Post Follow

2 Replies
676 Views

Similar Articles

[PageSpeed] 19

Panos Laganakos wrote:

> OS: Windows XP + SP1
>
> On this particular box, I hadn't moved to 2.4.3 yet.
> So, earlier today, I uninstalled Python2.4.2 and installed 2.4.3 using
> the .msi installer.
>
> It seems though everything looked great, that when I invoke 'python'
> from the command line, I get Python2.4.2 (as the header states),
> instead of 2.4.3.
>
> I looked at the registry and at the PATH variables of both system and
> current user, but they are just stating 'C:\Python24\'.
>
> When I explicitly call C:\Python24\python.exe though, 2.4.3 comes up.
>
> Any ideas what seems to be the problem here?

in your python 2.4.2 interpreter, what does

    >>> import sys
    >>> sys.executable

say ?

if you do a global search for "python24.dll", how many instances do
you find ?

</F>



0
fredrik2101 (5275)
5/4/2006 8:15:32 PM
Heh, Frederic,
It seems that its Lilypond's (www.lilypond.org) fault.

It registered its bin directory in the PATH variable, which seems to
contain a python.exe too.
So the result of:
>>>import sys; sys.executable
'D:\\Program Files\\LilyPond\\usr\\bin\\python.exe'

As for the instances of python24.dll, there are two:
one in system32 and one in inkscape's directory.

I 'fixed' it, by defining python's directory ahead of lilypond's. Now
the right executable is called.

Is there any other way instead of positioning in the PATH variable?

0
5/4/2006 9:31:35 PM
Reply: