Page 1 of 1

trimage missing PyQt4.QtCore

Posted: 21 Jul 2019, 11:47
by Kulle
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.

trimage missing PyQt4.QtCore

Posted: 21 Jul 2019, 13:00
by ncmprhnsbl
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/

trimage missing PyQt4.QtCore

Posted: 21 Jul 2019, 16:00
by Kulle
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

trimage missing PyQt4.QtCore

Posted: 22 Jul 2019, 04:36
by ncmprhnsbl
that's because slackware calls it: PyQt5 or python3-PyQt5 just to confuse things..
i'd probly steer clear of that for now..