I am running unstable with Plasma. I want to use the mpris plugin for quodlibet but it shows the following error:
<module> import dbus ModuleNotFoundError: No module named 'dbus'
Trying to solve it, i installed python39Packages.dbus-python python39Packages.pydbus libgmpris eggdbus
to no avail.
What can i do to solve this issue?
Installing Python packages globally is meaningless, see FAQ - NixOS Wiki. Instead, you need to add the package as a dependency to the package itself.
Fortunately, quodlibet already supports this so you can just use (quodlibet.override { withDbusPython = true; })
or even quodlibet-full
:
1 Like
That worked - thank you very much! 
And thank you for the explanation. I’m brand new at NixOS and wasn’t aware of that.