Hi,
I updated yesterday from CVS with this:
cvs update -r WX_2_4_BRANCH
wxWindows built fine on GTK - the demos run.
With wxPython it complains about 'wxGetFreeMemory' not being an attribute of
miscc.
I vaguely remember having run into this before but forgot how I solved it ?
I get this error:
$ export
PYTHONPATH=/jws30/haase/myCVS/wxWindows/wxPython/build/lib.linux-i686-2.2/
jws30/haase/myCVS/wxWindows/sebsWxGtk_build/lib/
$ export LD_LIBRARY_PATH=/jws30/haase/myCVS/wxWindows/sebsWxGtk_build/lib/
$ python2.2 demo.py
Traceback (most recent call last):
File "demo.py", line 3, in ?
import Main
File "Main.py", line 16, in ?
import wx # This module uses the new wx namespace
File
"/jws30/haase/myCVS/wxWindows/wxPython/build/lib.linux-i686-2.2/wx/__init__.
py", line 45, in ?
from wxPython import wx
File
"/jws30/haase/myCVS/wxWindows/wxPython/build/lib.linux-i686-2.2/wxPython/wx.
py", line 4, in ?
from misc import *
File
"/jws30/haase/myCVS/wxWindows/wxPython/build/lib.linux-i686-2.2/wxPython/mis
c.py", line 764, in ?
wxGetFreeMemory = miscc.wxGetFreeMemory
AttributeError: 'module' object has no attribute
I build it with:
$ python2.2 setup.py build FINAL=1
WX_CONFIG='/home/haase/myCVS/wxWindows/sebsWxGtk_build/wx-config \
--prefix=/home/haase/myCVS/wxWindows --exec-prefix=/home/haase/myCVS/wxWindo
ws/sebsWxGtk_build'
How can I fix this?
Thanks,
Sebastian Haase