Hello Everyone,
don't know how to fix this:
[andy@localhost snappergui]$ sudo python3 ./__init__.py [sudo] password for andy: Traceback (most recent call last): File "./__init__.py", line 3, in <module> import gi ImportError: No module named 'gi' [andy@localhost snappergui]$ python ./__init__.py [andy@localhost snappergui]$ sudo python ./__init__.py [andy@localhost snappergui]$ sudo python3 ./__init__.py Traceback (most recent call last): File "./__init__.py", line 3, in <module> import gi ImportError: No module named 'gi' [andy@localhost snappergui]$ sudo python3 ./__init__.pyvi^C [andy@localhost snappergui]$ vi __init__.py [andy@localhost snappergui]$ python3 Python 3.4.5 (default, May 29 2017, 15:17:55) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux Type "help", "copyright", "credits" or "license" for more information.
import gi
Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'gi'
quit
Use quit() or Ctrl-D (i.e. EOF) to exit
KeyboardInterrupt
exit
Use exit() or Ctrl-D (i.e. EOF) to exit
Sincerely
AndyBe
pygtk2-2.24.0-9.el7.x86_64 pygtk2-libglade-2.24.0-9.el7.x86_64 pygpgme-0.3-9.el7.x86_64 pygobject3-3.14.0-3.el7.x86_64 pygobject3-base-3.14.0-3.el7.x86_64 pygobject2-2.28.6-11.el7.x86_64 [andy@localhost ~]$ rpm -qa | grep python3 python34-dbus-1.2.4-2.el7.x86_64 python34-libs-3.4.5-4.el7.x86_64 python34-3.4.5-4.el7.x86_64
Installed...
On Thu, 15 Jun 2017, Andreas Benzler wrote:
pygtk2-2.24.0-9.el7.x86_64 pygtk2-libglade-2.24.0-9.el7.x86_64 pygpgme-0.3-9.el7.x86_64 pygobject3-3.14.0-3.el7.x86_64 pygobject3-base-3.14.0-3.el7.x86_64 pygobject2-2.28.6-11.el7.x86_64 [andy@localhost ~]$ rpm -qa | grep python3 python34-dbus-1.2.4-2.el7.x86_64 python34-libs-3.4.5-4.el7.x86_64 python34-3.4.5-4.el7.x86_64
It doesn't matter that pygobject3-base-3.14.0-3.el7.x86_64 is installed, when you're using another version of python (that's installed for python 2.7 not python34).
jh
Thanks jh,
in the meanwhile i found out that is use python2, still search for python34 gi module
Sincerely
Andy
Am Donnerstag, den 15.06.2017, 11:49 +0100 schrieb John Hodrien:
On Thu, 15 Jun 2017, Andreas Benzler wrote:
pygtk2-2.24.0-9.el7.x86_64 pygtk2-libglade-2.24.0-9.el7.x86_64 pygpgme-0.3-9.el7.x86_64 pygobject3-3.14.0-3.el7.x86_64 pygobject3-base-3.14.0-3.el7.x86_64 pygobject2-2.28.6-11.el7.x86_64 [andy@localhost ~]$ rpm -qa | grep python3 python34-dbus-1.2.4-2.el7.x86_64 python34-libs-3.4.5-4.el7.x86_64 python34-3.4.5-4.el7.x86_64
It doesn't matter that pygobject3-base-3.14.0-3.el7.x86_64 is installed, when you're using another version of python (that's installed for python 2.7 not python34).
jh _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Ok set it up by my self
https://copr.fedorainfracloud.org/coprs/andybe/CentOSPython34/
needs to test it.
Thanx
Andy