Re: Problem in running nautilus-python in Python3



Hi.

'gi' likely means gobject-introspection.

The README file in nautilus-python says it requires PyGObject 2.28.0. PyGObject in turn requires gobject-introspection.

Rathinam Signup via nautilus-list <nautilus-list gnome org> escreveu no dia quarta, 28/11/2018 às 12:37:
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
--
nautilus-list mailing list
nautilus-list gnome org
https://mail.gnome.org/mailman/listinfo/nautilus-list


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