qpaeq 没有​​名为“dbus.mainloop.pyqt5”的模块

qpaeq 没有​​名为“dbus.mainloop.pyqt5”的模块

我尝试qpaeq在 Ubuntu 下进行设置。它返回此错误

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.mainloop.pyqt5'

模块已安装

python3-dbus.mainloop.pyqt5 is already the newest version (5.14.1+dfsg-3build1).

但是 python 没有找到它,我也不知道为什么

(base) arthur@arthur-laptopt:~$ python 
Python 3.8.8 (default, Apr 13 2021, 19:58:26) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus.mainloop.pyqt5
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'dbus.mainloop.pyqt5'

我的 Ubuntu 版本是

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:    20.04
Codename:   focal

我需要做什么才能qpaeq明白dbus.mainloop.pyqt5

相关内容