from gi.repository import Nautilus
应该通过这种方法导入nautilus库吧。

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/126484

Title:
  ImportError: No module named nautilus

Status in “nautilus” package in Ubuntu:
  Invalid
Status in “nautilus-python” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: python2.5

  I have installed Timevault 0.7.0 from the official deb over at launchpad(wich 
installed python-nautilus as a dependency).
  I have also reinstalled python-nautilus from the official Ubuntu repository.
  But when I log out and log back in I dont see the Timevault icon next to the 
"Search"  in Nautilus.

  I attempt running:
  python /usr/lib/nautilus/extensions-1.0/python/timevaultNautilus.py

  But I get:

  Traceback (most recent call last):
    File "timevaultNautilus.py", line 28, in <module>
      import nautilus
  ImportError: No module named nautilus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/126484/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to