Re: Problem in running nautilus-python in Python3

António Fernandes via nautilus-list <[email protected]> Wed, 28 Nov 2018 12:45:40 +0000
Newsgroups gmane.comp.gnome.nautilus
Message-ID <CAJa6SmdR2jqcfo1duk5Lo+d3VT1ARBQmr25JAB1HBDzomCf+UQ@mail.gmail.com>
--===============1166965201124777126==
Content-Type: multipart/alternative; boundary="0000000000004012fe057bb8f2c5"

--0000000000004012fe057bb8f2c5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 <[email protected]> escreveu no dia
quarta, 28/11/2018 =C3=A0s 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 aroun=
d
> 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
> [email protected]
> https://mail.gnome.org/mailman/listinfo/nautilus-list

--0000000000004012fe057bb8f2c5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi.<br><br>&#39;gi&#39; likely means gobject-introspection=
.<br><br>The README file in nautilus-python says it requires PyGObject 2.28=
.0. PyGObject in turn requires gobject-introspection.</div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr">Rathinam Signup via nautilus-list &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; esc=
reveu no dia quarta, 28/11/2018 =C3=A0s 12:37:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><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 across this extension. After some googling around I was able to po=
int default python to Python3.6(using update-alternatives) and installed th=
e nautilus-python from source <a href=3D"https://github.com/GNOME/nautilus-=
python" target=3D"_blank">https://github.com/GNOME/nautilus-python</a>. <br=
></div><div><br></div><div>When I try to check the installation by importin=
g a sample package it fails to load 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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot=
; or &quot;license&quot; for more information.<br>&gt;&gt;&gt; from gi.repo=
sitory import Nautilus<br>Traceback (most recent call last):<br>=C2=A0 File=
 &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>ModuleNotFoundErro=
r: No module named &#39;gi&#39;

<br></div><div><br></div><div>Any help is appreciated. Thanks</div></div>
-- <br>
nautilus-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">nautilus-list@=
gnome.org</a><br>
<a href=3D"https://mail.gnome.org/mailman/listinfo/nautilus-list" rel=3D"no=
referrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/nautilu=
s-list</a></blockquote></div>

--0000000000004012fe057bb8f2c5--

--===============1166965201124777126==
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
--===============1166965201124777126==--