Good day,
Well, it seems that finally, the Python API Bindings (Healynet) no longer work on an updated Haiku system.
At least they don’t work on my boxes, tried in both (actually both are on the current hrevs, and similar hardware so… nothing strange there).
Did try the install script provided inside the downloaded zip package, did try to install via pip, and did try to get the pip and install from local API file; inside a VENV and global, with Python 2.7 and with Python 3.7. None worked. This is weird as Healynet API bindings for Python did work before.
Therefore, in order to do Python GUI programming on Haiku we are left with:
- PyQt. I tried this with Haiku’s PyQt5 and works quite well, though UI integration does have some issues (some half solved with a flat decorator)
- @aarroyoc Pybind11 approach
The easiest way is go the PyQt way, from what I’ve learned in the past days. I tried to go the wxPython way and nope. It seems wxPython needs to be compiled in Haiku, to be used, or at least I wasn’t able to get it working inside the Python VENV. I might be missing something as my knowledge on these things is still very limited.
So finally, in my case, I’m going to use PyQt to try to get the little Python program I did in GTK running on Haiku, and use what @phw said in the gitcola topic to get integration.
This does not mean I give up on using Haiku native API with Python, it’s just a delay (and as I go slow…mmmm…).
If anyone has a different experience on this topic, please let me know. Hopefully sooner than later will be using native Haiku API with Python.
Regards,
RR