2016-03-27 44 views
2

"gi.repository ithalat GObject gelen" dan "ithal gobject" tüm tekrarlarını Takma Adı: from gi.repository import Gtkböyle Gtk Improt deneyin

ve aşağıdaki hatayı alıyorum:

ImportError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject"

Ve ben aynı hatayı aldığımda, ben bu sorunu çözmem için bana yardımcı olun.

cevap

2

python-gobject ve python-gobject-2'u yeniden yükledim ve şimdi her şey çalışıyor!