Skip to content Skip to sidebar Skip to footer

Import Errors With Python And Gtk+ 3

I'm working in a program that is written in Gtk+ 3 and Python. A related question I asked about my program is here. Now, that I advanced a bit more, I have the following imports: i

Solution 1:

Some of your modules are using the static Gtk+ 2.0 bindings "PyGtk": http://www.pygtk.org/ Your are using dynamic Gtk+ 3.0 bindings "PyGObject": https://live.gnome.org/PyGObject

You cannot load both libraries at the same time, and if you do, you will have imports errors and segmentation faults.

My guest is that the responsible is APLpy module, you should check the source code a look for PyGtk imports, or ask the developer if PyGObject is supported.

Post a Comment for "Import Errors With Python And Gtk+ 3"