Wx Demos using wrong version of Python
Tony Cappellini
cappy2112 at gmail.com
Fri Nov 2 22:31:13 PDT 2007
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.
---------- Forwarded message ----------
From: Robin Dunn <robin at alldunn.com>
To: wxPython-users at lists.wxwidgets.org
Date: Thu, 13 Sep 2007 12:02:07 -0700
Subject: Re: [wxPython-users] Default installation of wx
Andrea Gavana wrote:
> Hi Tony,
>
> On 9/9/07, Tony Cappellini wrote:
>> 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.
--
Robin Dunn
Software Craftsman
http://wxPython.org <http://wxpython.org/> Java give you jitters? Relax
with wxPython!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200711=
02/ad6c9a14/attachment.htm
More information about the wxpython-users
mailing list