Problem in running nautilus-python in Python3
Rathinam Signup via nautilus-list <[email protected]> Wed, 28 Nov 2018 18:07:09 +0530
| Newsgroups | gmane.comp.gnome.nautilus |
|---|---|
| Message-ID | <CAPzkV1wVf3p6_nJ9BFWnqE887SmH1pYfyNK-0X==81H2AqX7Pw@mail.gmail.com> |
--===============5805080743607784388== Content-Type: multipart/alternative; boundary="0000000000007bf218057bb8d487" --0000000000007bf218057bb8d487 Content-Type: text/plain; charset="UTF-8" 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 --0000000000007bf218057bb8d487 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi All,</div><div><br></div><div>When I was trying to= add my custom items in nautilus file/folder right-click menu, I came acros= s this extension. After some googling around I was able to point default py= thon to Python3.6(using update-alternatives) and installed the nautilus-pyt= hon from source <a href=3D"https://github.com/GNOME/nautilus-python">https:= //github.com/GNOME/nautilus-python</a>. <br></div><div><br></div><div>When = I try to check the installation by importing a sample package it fails to l= oad the module<br></div><div> $ python<br>Python 3.6.3 (default, Nov 28 2018, 12:28:00) <br>[GCC 4.8.4] o= n linux<br>Type "help", "copyright", "credits"= ; or "license" for more information.<br>>>> from gi.repo= sitory import Nautilus<br>Traceback (most recent call last):<br>=C2=A0 File= "<stdin>", line 1, in <module><br>ModuleNotFoundErro= r: No module named 'gi' <br></div><div><br></div><div>Any help is appreciated. Thanks</div></div> --0000000000007bf218057bb8d487-- --===============5805080743607784388== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- nautilus-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/nautilus-list --===============5805080743607784388==--