NOTE: This question is not relevant to the dbus
problem I am experiencing as described below.
I tried to run qpaeq
after installing. It asks for dbus
. Other posts say to install python-dbus
. It doesn't help. There is also no dbus-python
, which is what qpaeq
is asking for. What to do? Transcript follows:
$ sudo apt-get install pulseaudio-equalizer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-dbus.mainloop.pyqt5
The following NEW packages will be installed:
pulseaudio-equalizer python3-dbus.mainloop.pyqt5
0 upgraded, 2 newly installed, 0 to remove and 19 not upgraded.
Need to get 50.7 kB of archives.
After this operation, 281 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 python3-dbus.mainloop.pyqt5 amd64 5.14.1+dfsg-3build1 [16.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 pulseaudio-equalizer amd64 1:13.99.1-1ubuntu3.7 [34.0 kB]
Fetched 50.7 kB in 0s (281 kB/s)
Selecting previously unselected package python3-dbus.mainloop.pyqt5.
(Reading database ... 475713 files and directories currently installed.)
Preparing to unpack .../python3-dbus.mainloop.pyqt5_5.14.1+dfsg-3build1_amd64.deb ...
Unpacking python3-dbus.mainloop.pyqt5 (5.14.1+dfsg-3build1) ...
Selecting previously unselected package pulseaudio-equalizer.
Preparing to unpack .../pulseaudio-equalizer_1%3a13.99.1-1ubuntu3.7_amd64.deb ...
Unpacking pulseaudio-equalizer (1:13.99.1-1ubuntu3.7) ...
Setting up python3-dbus.mainloop.pyqt5 (5.14.1+dfsg-3build1) ...
Setting up pulseaudio-equalizer (1:13.99.1-1ubuntu3.7) ...
$ qpaeq
There was an error importing needed libraries
Make sure you have qt5 and dbus-python installed
The error that occurred was:
No module named 'dbus'
$ sudo apt-get install python-dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-dbus is already the newest version (1.2.16-1build1).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
$ qpaeq
There was an error importing needed libraries
Make sure you have qt5 and dbus-python installed
The error that occurred was:
No module named 'dbus'
$ sudo apt-get install dbus-python
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dbus-python
pactl load-module module-dbus-protocol` then run it.
– kenn Nov 14 '20 at 13:36module-dbus-protocol
. The message is not quiet clear about name. I tried in a virtualbox. – user.dz Nov 14 '20 at 14:30pactl load
s and I still get the same error. This is on Ubuntu 20.04LTS. – Lars Ericson Nov 14 '20 at 16:46qpaeq
. Loading those modules withpactl
let me launchqpaeq
without error. – kenn Nov 14 '20 at 17:41python3-dbus
installed? – kenn Nov 14 '20 at 17:43sudo apt install python3-dbus
thenpactl load-module module-equalizer-sink
thenpactl load-module module-dbus-protocol
thenqpaeq
and I still getNo module named dbus
. – Lars Ericson Nov 15 '20 at 15:02