LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Slackware64-current KDE and SBOPKG_GUI (https://www.linuxquestions.org/questions/linux-software-2/slackware64-current-kde-and-sbopkg_gui-4175734828/)

Klaus150 03-12-2024 10:39 AM

Slackware64-current KDE and SBOPKG_GUI
 
Hi together,
I have a 'small" problem with my system. I don't know after which update, SBOPG_GUI did not start anyway. Feedback by start:
Quote:

Traceback (most recent call last):
File "/usr/bin/sbopkg_gui", line 43, in <module>
from PyQt4.QtCore import Qt, QSettings, QVariant, QPoint, QSize
ImportError: No module named PyQt4.QtCore
I've tried to reinstall all progs with their dependecies: no success.
Certainly I use sbopkg, but a GUI is nicer.
Maybe any Idea?

My System:
Quote:

Betriebssystem: Slackware 15.0
KDE-Plasma-Version: 5.27.11
KDE-Frameworks-Version: 5.115.0
Qt-Version: 5.15.12
Kernel-Version: 6.6.21 (64-bit)
Grafik-Plattform: X11
Prozessoren: 8 × Intel® Core™ i5-10200H CPU @ 2.40GHz
Speicher: 31,0 GiB Arbeitsspeicher
Grafikprozessor: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2
Hersteller: GIGABYTE
Produktname: AORUS 5 MB
Systemversion: Not Applicable
Thanks,
Klaus

rup1034 04-02-2024 08:55 PM

Qt4 is pretty old from kde 4 and it makes me wonder if maybee a old version of SBOPKG is on your system? I haven't tried using sbopkg yet I always use sboui console program and have a very carefully selected blacklist file to prevent certain stuff from updating and beraking certain programs.

I am also on slackware stable 15.0 so what is currently going on with current is beyond me right now. It looks like my versions are Qt5-5.15.3 and PyQt5 same version.

PyQt4 also only works on python 2.x so probably just need a newer release tarball of sbopkg I can try loading it on my system maybee today to see if it works for me or not.

py -3 -m pip3 install PyQt5 would be the command to use python 3 to add the py qt module to it. You can do this as your username.

From what I read if PyQt5 modules is not found it falls back to try to use 4, so see if adding the module with the above command fixes it.

Klaus150 04-04-2024 04:24 AM

rup1034:
Thanks, it runs now.
"pip install PyQt5" as user.

Regards,
Klaus

rup1034 04-04-2024 11:18 PM

Good show, glad it worked out. Have fun.


All times are GMT -5. The time now is 12:22 PM.