wxPython libraries never detected

hg hg at nospam.org
Sat Feb 10 11:34:14 EST 2007


hg wrote:

> d.lidell at gmail.com wrote:
> 
>> On Feb 10, 1:07 pm, hg <h... at nospam.org> wrote:
>>> By default, you need to have wx installed in the python site-package
>>> path / under Mandriva, I have wx 2.8 installed
>>> here:  /usr/lib/python2.4/site-packages/wx-2.8-gtk2-ansi/
>>>
>>> hg
>> 
>> Ah, now I see. But I have a new problem:
>> 
>> "ls /usr/lib/python2.4/site-packages | grep wx-2.8" returns "wx-2.8-
>> gtk2-unicode"
>> 
>> I copied wx-2.8-gtk2-unicode to /usr/lib/python2.5/site-packages/,
>> which I assume the programs I am attempting to compile and run are
>> using by default, but they still do not find the libraries. How can I
>> tell where the programs are searching for the libraries?
>> 
>> Thanks.
> 
> If you're going to try the copy technique (never tried it) , you also need
> to copy wx.pth and wxversion.py.
> 
> hg

Oh, and remember that a 2.4.pyc will not run with 2.5 ... so I would also
remove all .pyc that I might have copied.

hg




More information about the Python-list mailing list