我試圖在Ubuntu 10.04啓動python腳本:導入錯誤:沒有模塊名爲gi.repository
from gi.repository import Nautilus, GObject
它不工作:
Traceback (most recent call last): File "script.py", line 1, in from gi.repository import Nautilus, GObject ImportError: No module named gi.repository
我安裝的python-的GObject-dev的,python-gobject,python-nautilus,但它沒有幫助。 有沒有人有這個問題?