You are not logged in.
Hello,
I am going thought the Waydroid documentation here: https://wiki.archlinux.org/title/Waydroid
I am using linux-zen kernel and I could successfully install the AUR package and related dependencies needed during the process (including here in case they are relevant):
- lxc (Arch repository)
- libglibutil (AUR)
- libgbinder (AUR)
- Cython (pip)
- python-gbinder (AUR)
- waydroid (AUR)
However, when I run
waydroid init
The following python-like error appears
Traceback (most recent call last):
File "/usr/bin/waydroid", line 6, in <module>
import tools
File "/usr/lib/waydroid/tools/__init__.py", line 8, in <module>
import dbus.mainloop.glib
ModuleNotFoundError: No module named 'dbus'
Is there any step further that I should do to install Waydroid, or would you have any tip to investigate it further?
Thanks in advance.
Last edited by loflorem (2024-01-08 21:23:53)
Offline
How exactly did you go about installing 'waydroid'? Your list of deps does not account for dbus-python...
EDIT: Did you run
waydroid init
as root?
Last edited by dogknowsnx (2024-01-08 21:47:24)
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
@dogknowsnx I have run with root
I installed the packages as follows:
From the arch repository with pacman -Syu
From the AUR, by cloning the git repository and running makepkg -sirc
From pip using pip install
After your suggestion, I installed via pip install the dbus-python. Now, the error that appears when I run waydroid init as root is "ModuleNotFoundError: No module named 'gbinder'". Here the full stack trace in case that helps:
Traceback (most recent call last):
File "/usr/bin/waydroid", line 6, in <module>
import tools
File "/usr/lib/waydroid/tools/__init__.py", line 12, in <module>
from . import actions
File "/usr/lib/waydroid/tools/actions/__init__.py", line 3, in <module>
from tools.actions.initializer import init, wait_for_init, remote_init_client
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 8, 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'
However, I already installed `python-gbinder' (AUR) with `makepkg -sirc' from here https://aur.archlinux.org/packages/python-gbinder.
Offline
What does `type -a python` give you?
Offline
`type -a python' gives the following (both for root and my user)
python is /home/myuser/.pyenv/shims/python
python is /usr/bin/python
Last edited by loflorem (2024-01-10 23:30:10)
Offline
So you're overriding the system python, which is why it can't find things that are installed. You either need to use the system python or manage the programs and dependencies yourself outside of pacman.
Offline