on OS X and Windows everything runs just fine, but when I compiled wxpython 2.9.4 on Linux and then tried to run with it my program, it returned such exception:
File “/home/solusipse/wxPython-src-2.9.4.0/wxPython/wx/html2.py”, line 125, in New
val = _html2.WebView_New(*args, **kwargs)
NotImplementedError: wx.html2 is not available on this platform.
I just wanted to ask if I should get such error or maybe I did something wrong. I used Arch Linux 64 bit. wxPython compiled without errors - I used that command:
Hello,
on OS X and Windows everything runs just fine, but when I compiled
wxpython 2.9.4 on Linux and then tried to run with it my program, it
returned such exception:
File "/home/solusipse/wxPython-src-2.9.4.0/wxPython/wx/html2.py", line
125, in New
val = _html2.WebView_New(*args, **kwargs)
NotImplementedError: wx.html2 is not available on this platform.
I just wanted to ask if I should get such error or maybe I did something
wrong. I used Arch Linux 64 bit. wxPython compiled without errors - I
used that command:
python2.6 build-wxpython.py --build_dir=../bld
and then exported LD_LIBRARY_PATH and PYTONPATH.
If the packages that the wxWebView classes depend upon are not installed then wxWidget's configure script will automatically disable building those classes. You'll need at least the -dev packages for libwebkitgtk, or whatever it may be called on Arch Linux. Watch the output of the configure command for more clues.
on OS X and Windows everything runs just fine, but when I compiled
wxpython 2.9.4 on Linux and then tried to run with it my program, it
returned such exception:
File “/home/solusipse/wxPython-src-2.9.4.0/wxPython/wx/html2.py”, line
125, in New
val = _html2.WebView_New(*args, **kwargs)
NotImplementedError: wx.html2 is not available on this platform.
I just wanted to ask if I should get such error or maybe I did something
wrong. I used Arch Linux 64 bit. wxPython compiled without errors - I
used that command:
python2.6 build-wxpython.py --build_dir=…/bld
and then exported LD_LIBRARY_PATH and PYTONPATH.
If the packages that the wxWebView classes depend upon are not installed
then wxWidget’s configure script will automatically disable building
those classes. You’ll need at least the -dev packages for libwebkitgtk,
or whatever it may be called on Arch Linux. Watch the output of the
configure command for more clues.