Problem in running nautilus-python in Python3



Hi All,

When I was trying to add my custom items in nautilus file/folder right-click menu, I came across this extension. After some googling around I was able to point default python to Python3.6(using update-alternatives) and installed the nautilus-python from source https://github.com/GNOME/nautilus-python.

When I try to check the installation by importing a sample package it fails to load the module
$ python
Python 3.6.3 (default, Nov 28 2018, 12:28:00)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Nautilus
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'gi'

Any help is appreciated. Thanks


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]