Python 2.7.15 (default, Jun 27 2018, 13:05:28)
[GCC 8.1.1 20180531] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx;print(wx.version())
4.0.0b1 gtk2 (phoenix)
Python 3.7.1 (default, Oct 22 2018, 10:41:28)
[GCC 8.2.1 20180831] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx;print(wx.version())
4.0.3 gtk3 (phoenix) wxWidgets 3.0.4
Arch Linux stable, Python package versions:
python 3.7.1-1
python2 2.7.15-2
@Maciej:
Python 2.7.15 (default, Jun 27 2018, 13:05:28) wx.version( ))
[GCC 8.1.1 20180531] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx;print(
4.0.0b1 gtk2 (phoenix)
Python 3.7.1 (default, Oct 22 2018, 10:41:28) wx.version( ))
[GCC 8.2.1 20180831] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx;print(
4.0.3 gtk3 (phoenix) wxWidgets 3.0.4
Arch Linux stable, Python package versions:
python 3.7.1-1
python2 2.7.15-2
python-wxpython 4.0.3-4
wxgtk-common 3.0.4-2
wxgtk2 3.0.4-2
wxgtk3 3.0.4-2
wxpython-gtk2 3.0.2.0-7
The last posted patch works for me, it allows successful building for Python 3.