I tried different options (what’s on the ‘downloads’ page of the site, via pip, using binary wheel from GitHub), neither worked.
I’m getting this error:
Error running configure
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "/tmp/pip-install-4ukhis_k/wxpython_50473bbf0a274af18b3482d62e7b582c/build.py", line 1606, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-4ukhis_k/wxpython_50473bbf0a274af18b3482d62e7b582c/buildtools/build_wxwidgets.py", line 385, in main
exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts, env=env),
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Error running configure")
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-4ukhis_k/wxpython_50473bbf0a274af18b3482d62e7b582c/buildtools/build_wxwidgets.py", line 70, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error running configure
Finished command: build_wx (0m3.237s)
Finished command: build (0m3.237s)
I’m confused. I don’t intend to work on the lib code. I only need the components.
But the ‘extras’ don’t even include a binary for 26.04.
Is it going to be published any time soon?
the installation went through.
But the import still fails:
>>> import wx
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import wx
File "/home/.../Software/notify_py_/.venv/lib/python3.14/site-packages/wx/__init__.py", line 17, in <module>
from wx.core import *
File "/home/.../Software/notify_py_/.venv/lib/python3.14/site-packages/wx/core.py", line 12, in <module>
from ._core import *
ImportError: libpcre2-32.so.0: cannot open shared object file: No such file or directory
>>>
Hello. Currently there are no binary wheels being distributed for linux for technical reasons. AFAIK your two options are install via the package manager using apt wxpython4.0 or, if you need a more recent version, compile from the source wheel as described here.
Well, I managed to install it from the GitHub binary.
But now the app starts w/o even showing the main window.
No stack trace, just the app log messages in the console but no window displayed. I was also putting an icon in the system tray and it’s not showing in there either.
Not sure how specific the code should be because the last time it worked it was run on XFCE (Xubuntu 20.04). Now I upgraded to Kubuntu 26.04 and have this issue.
Was some breaking change introduced in the lib so I have to rewrite the app or something?