Page 1 of 1

ImportError: No module named gi

Posted: 29 Jun 2018, 06:10
by inco726
Porteus 4 lxde
Programm: scanmem (game coqueror)

root@porteus:/home/guest# gameconqueror
Traceback (most recent call last):
File "/usr/share/gameconqueror/GameConqueror.py", line 35, in <module>
import gi
ImportError: No module named gi

ImportError: No module named gi

Posted: 29 Jun 2018, 07:21
by inco726
Or how to install dependencies:
Python (2.x / 3.x)
PyGObject
GTK+ 3
policykit

Python 2.7 package installed in system
PyGObject 2.28.6 & 3.4.0 package installed
GTK+ 3 - I do not know what to install
lxqt-policykit-0.11.0-i486-bundle.xzm package installed. I'm not sure if you need this

ImportError: No module named gi

Posted: 29 Jun 2018, 09:01
by ncmprhnsbl
check /var/log/packages for what is already installed(before you start)
eg. python-2.7, gtk+3, polkit are part of the base modules..
inco726 wrote:
29 Jun 2018, 06:10
ImportError: No module named gi
generally means you need package:gobject-introspection
inco726 wrote:
29 Jun 2018, 07:21
lxqt-policykit-0.11.0-i486-bundle.xzm package installed. I'm not sure if you need this
shouldn't need this, polkit should be enough..

ImportError: No module named gi

Posted: 29 Jun 2018, 10:22
by inco726
all packages are there and gobject-introspection has installed. The result is the same

ImportError: No module named gi

Posted: 30 Jun 2018, 03:08
by ncmprhnsbl
i have it working with these packages from slackware current repos:
scanmem-0.16-x86_64-3_slonly.txz
pygobject3-3.28.3-x86_64-1.txz
gobject-introspection-1.56.1-x86_64-2.txz

note pygobject3 is for gtk+3, not python3..

ImportError: No module named gi

Posted: 01 Jul 2018, 03:56
by inco726
cinnamon and mate with these packages - runs
kxde and openbox with these packages - does not start. There may be a reason in package versions or in other packages. In this I did not understand. I will use Mate.