You are not logged in.
My problem is, that I'm unable to run firewall-applet on my Laptop (Dell Latitude 7280). I installed firewalld and started it with
sudo systemctl enable --now firewalldNow I had the problem that it isn't showing up. After typing firewall-applet in the console I saw, that PyQT5 wasn't installed so I did
sudo pacman -S python-pyqt5 as well as pip install pyqt5.
Now, the error changed to another, but I don't know how to fix it, and my main pc had no problems with this where i just used sudo pacman -S firewalld.
I googled everything but there isn't any solution so far, that seem to work.
The error is:
Traceback (most recent call last):
File "/usr/bin/firewall-applet", line 31, in <module>
from dbus.mainloop.pyqt5 import DBUSQtMainLoop
ModuleNotFoundError: No module named 'dbus.mainloop.pyqt5'I already tried tried:
sudo pacman -S dbus-python
sudo pacman -S python-dbus
sudo pacman -S python-pyqt5
Checking if pyqt5 is even installed ll /usr/lib/python3.10/site-packages/dbus/mainloop/ and both pc and laptop showed pyqt5.abi3.so
Comparing which packages are installed on both pc and laptop with pacman -Q, containing gtk,gnome,qt,dbus -- but all there are the same even the version
Started working with Linux in 2015
Offline
That pip command is probably screwing things up. Uninstall that.
Offline
Now I get the error
PermissionError: [Errno 13] Permission denied: '/usr/bin/pylupdate5if I use the command pip uninstall pyqt5
Edit:
It was already uninstalled and it showed an error because it was a pacman package, where it has no rights to remove.
Last edited by xXPerditorXx (2023-03-26 09:04:01)
Started working with Linux in 2015
Offline
Finally fixed it by uninstalling dbus-python in pip:
pip uninstall dbus-pythonStarted working with Linux in 2015
Offline