trimage missing PyQt4.QtCore

Non release banter
Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

trimage missing PyQt4.QtCore

Post#1 by Kulle » 21 Jul 2019, 11:47

I created via usm: trimage-1.0.5-x86_64-1_slonly.xzm

Code: Select all

guest@porteus:~$ trimage
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/trimage/trimage.py", line 14, in <module>
    from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore
But it is missing PyQt4.QtCore
Can someone help?
many thanks.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

trimage missing PyQt4.QtCore

Post#2 by ncmprhnsbl » 21 Jul 2019, 13:00

try package: PyQt .. . most likely need qt (4) as well, if you havn't got it already..
and from https://slackonly.com/pub/packages/14.2 ... slonly.dep
advancecomp
jpegoptim
optipng
pngcrush

(the newest version uses qt5 and python3) https://trimage.org/
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

trimage missing PyQt4.QtCore

Post#3 by Kulle » 21 Jul 2019, 16:00

Hi ncmprhnsbl,
it also needs python-qt5
But

Code: Select all

root@porteus:/home/guest# usm -s python-qt5
find: `/tmp/xdg-runtime-guest/gvfs': Permission denied

Nothing found for python-qt5

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

trimage missing PyQt4.QtCore

Post#4 by ncmprhnsbl » 22 Jul 2019, 04:36

that's because slackware calls it: PyQt5 or python3-PyQt5 just to confuse things..
i'd probly steer clear of that for now..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply