How to bundle wxPython with AppImage

Does anyone have any guidance on using AppImage with a wxPython app on Linux? https://appimage.org/

1 Like

There is a some stuff on pypi.org and github:
python-appimage · PyPI
python-appimage/.github/workflows at master · niess/python-appimage · GitHub

AppImage does not seem to work with wxPython.
The AppImage builds with no errors, but when I try to run it, I get:

beastway@bwpc01:~/bin$ ./CrossMgr-3.0.75-20210802094250-x86_64.AppImage 
Traceback (most recent call last):
  File "CrossMgr.pyw", line 8, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
  File "MainWin.py", line 18, in <module>
ModuleNotFoundError: No module named 'wx'

I installed wxPython from the “extras” directory (https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-…).

I investigated jfabiani’s links, but they don’t cover the wxPython error I get. What am I missing?

I am under the impression that appimage works its magic only with manylinux packages. And wxPython is not a manylinux package, for the foreseable future, see wxPython Downloads | wxPython