Wx Demos using wrong version of Python

I’ve got Python 2.3, 2.4, 2.5 installed on a Windows machine, and a corresponding version of wx for each Python installation.
However, currently, only Python 2.5 is in my path.
I’ve installed the wx Demos while Python 2.5 was in my path (even though it doesn’t get installed under the Python 2.5 tree).

When I launch any of the demos, Python 2.3.5 is displayed, instead of Python 2.5.

I don’t understand why this is happening, when ONLY python 2.5 is in my path.

Andrea Gavana wrote:

Hi Tony,

During installation on Windows, there is a checkbox to “Make this be
the default wxpython installation”

What does checking this box actually do?

I am not 100% sure, but I would say that this checkbox (if checked),
modifies the wx.pth file that you can find in your site-packages
directory, i.e. on my Windows:

C:\Python25\Lib\site-packages
\wx.pth

My file contains this line:

wx-2.8-msw-unicode

I believe the checkbox will change that line to make the installation
the
default wxPython one.

Correct. And you can also edit this file yourself if you would like to
manually change which wxPython is imported by default without using

wxversion.

···

---------- Forwarded message ----------
From: Robin Dunn robin@alldunn.com
To: wxPython-users@lists.wxwidgets.org
Date: Thu, 13 Sep 2007 12:02:07 -0700
Subject: Re: [wxPython-users] Default installation of wx

On 9/9/07, Tony Cappellini wrote:


Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!