Python 2.4.2 to 2.4.3 transition issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Panos Laganakos

    #1

    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\pyt hon.exe though, 2.4.3 comes up.

    Any ideas what seems to be the problem here?

  • Fredrik Lundh

    #2
    Re: Python 2.4.2 to 2.4.3 transition issue

    Panos Laganakos wrote:
    [color=blue]
    > 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\pyt hon.exe though, 2.4.3 comes up.
    >
    > Any ideas what seems to be the problem here?[/color]

    in your python 2.4.2 interpreter, what does
    [color=blue][color=green][color=darkred]
    >>> import sys
    >>> sys.executable[/color][/color][/color]

    say ?

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

    </F>



    Comment

    • Panos Laganakos

      #3
      Re: Python 2.4.2 to 2.4.3 transition issue

      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:[color=blue][color=green][color=darkred]
      >>>import sys; sys.executable[/color][/color][/color]
      'D:\\Program Files\\LilyPond \\usr\\bin\\pyt hon.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?

      Comment

      Working...