This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
proj:ubuntudev [2021/08/14 17:16] 151.210.132.110 |
proj:ubuntudev [2021/08/14 21:31] (current) 151.210.131.205 |
||
---|---|---|---|
Line 11: | Line 11: | ||
pip install everything including wxpython | pip install everything including wxpython | ||
- | Before installing wxpython, system install libgtk-3-dev and pip install wheel (so a wheel gets used). Still need dev pkg if installed wheel? | + | Before installing wxpython, sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev and pip install wheel (so a wheel gets used). Need libwebkit2gtk-4.0-dev otherwise wxPython will not be compiled with wx.html2 support for backend. Will fail when wx.html2.WebView.New() because backend not compiled and thus not available. See https://discuss.wxpython.org/t/wxdemo-html2-possible-bug/34760. |