import errors with Python and Gtk+ 3

后端 未结 1 542
无人及你
无人及你 2021-01-21 02:14

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 advanc

1条回答
  •  伪装坚强ぢ
    2021-01-21 03:01

    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.

    0 讨论(0)
提交回复
热议问题