Waydroid - missing module gbinder

try to install Waydroid but there is a dependency error with python modul: gbinder

sudo pacman -Syu
sudo pacman -S waydroid-image
sudo waydroid init -f

[root@manjaro-arm ~]# waydroid init -f
Traceback (most recent call last):
  File "/usr/bin/waydroid", line 6, in <module>
    import tools
  File "/usr/lib/waydroid/tools/__init__.py", line 9, in <module>
    from . import actions
  File "/usr/lib/waydroid/tools/actions/__init__.py", line 3, in <module>
    from tools.actions.initializer import init
  File "/usr/lib/waydroid/tools/actions/initializer.py", line 5, in <module>
    from tools import helpers
  File "/usr/lib/waydroid/tools/helpers/__init__.py", line 5, in <module>
    import tools.helpers.props
  File "/usr/lib/waydroid/tools/helpers/props.py", line 7, in <module>
    from tools.interfaces import IPlatform
  File "/usr/lib/waydroid/tools/interfaces/IPlatform.py", line 1, in <module>
    import gbinder
ModuleNotFoundError: No module named 'gbinder'

[root@manjaro-arm ~]# pacman -Ss gbinder
community/libgbinder 1.1.14-1 [installed]
    GLib-style interface to binder
community/libgbinder-radio 72.6a9a0b7-1
community/python-gbinder 1.0.0-1 [installed]
    Python bindings for libgbinder

How to fix it ?

Packages meeed to been compiled for the right python version…


what can I do ?

I guess Python was updated to 3.10 recently, so this probably means that you installed waydroid recently (so it’s using python 3.10) but you python-gbinder was not updated and is still using 3.9.
Just do a full system upgrade with sudo pacman -Suy.

If it still does not work after the update and a restart (unlikely), then it could be a problem with waydroid packaging for manjaro.

AFAIK Waydroid works only on a Wayland session