[wxPython-dev] Re: 20061118 test build uploaded
Robin Dunn
robin at alldunn.com
Tue Nov 21 09:22:31 PST 2006
Franz Steinhaeusler wrote:
>> this is first
>>
>> 'c:\\python24\\lib\\site-packages\\wx-2.60-msw-ansi',
>>
>> 'c:\\python24\\lib\\site-packages\\gtk-2.0', 'c:\\python24\\lib\\site-packages\
>> \win32', 'c:\\python24\\lib\\site-packages\\win32\\lib', 'c:\\python24\\lib\\sit
>> e-packages\\Pythonwin',
>>
>> and then this appears
>> 'c:\\python24\\lib\\site-packages\\wx-2.8-msw-unicode']
>
> I have renamed the old path to something like __wx260.pth.
> I think, this is the culprit.
>
> If I rename it to something like, wx_260.pt_h, then it works.
>
> I always keep a last version of wxPython, from which I know,
> it is working stable, so I copy only this file to wx.pth.
>
All *.pth files are loaded, and probably in no particular order. So
having both wx*.pth files will cause both paths to be added to the
sys.path. You might want to consider just having one file and edit it
when you want to change the default. I think you can have # comments in
the file so you could have both paths listed in there, and just comment
out the one you don't want to be active.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list