<div dir="ltr">Hello Shishir!<div><br></div><div style="">I really appreciate your input!</div><div>I uninstalled the older gstreamer and gi version and added your suggestion to my py-script and now python finds gi but cannot find Gst.<br></div><div style=""><br></div><div style="">The "make check" on gst-python fails due to "<span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit;background-color:rgb(239,240,241);color:rgb(36,39,41);font-size:13px;text-align:left">Too many levels of symbolic links".</span></div><div style="">gi/overrides/__init__.py is a link to itself. That seems to be the problem here. However I dont know if it is a problem for the installation.</div><div style=""><br></div><div style="">The "make install" puts Gst in /usr/local/lib/python2.7/site-packages/gi/overrides, whereas the rest of gi is installed to /usr/local/lib/python2.7/dist-packages/gi.</div><div style=""><br></div><div style="">I tried copying the content fron site-packages to dist-packages, but it did not help.</div><div style="">Still I get the error msg:</div><div style=""><br></div><div style=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">ERROR:root:Could not find any typelib for Gst<br>Traceback (most recent call last):<br>  File "gstreamer.py", line 11, in <module><br>    from gi.repository import Gst as gst<br>ImportError: cannot import name Gst</blockquote><div><br></div><div style="">Does anyone know how to resolve that issue?</div><div style=""><br></div><div style="">Kind regards</div><div style="">JB </div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-30 19:17 GMT+02:00 Shishir Pokharel <span dir="ltr"><<a href="mailto:Shishir.Pokharel@on24.com" target="_blank">Shishir.Pokharel@on24.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try setting sys.path.append('path to new version libs') from Python.<br>
<br>
Sent from my iPhone<br>
<div class="HOEnZb"><div class="h5"><br>
> On Jun 30, 2016, at 08:01, Johannes Bauer <<a href="mailto:hannes_bauer@aon.at">hannes_bauer@aon.at</a>> wrote:<br>
><br>
> Sebastian,<br>
><br>
> thank you very much for your answer.<br>
><br>
> I use pygobject-3.0.0 and i also have a /usr/local/include/pygobject-3.0/pygobject.h,<br>
> but it lacks the definition of PyGObject_Type.<br>
><br>
> I also tried building 3.21.0, but it requires a higher version of gobject-introspection, which fails to build on my system.<br>
><br>
> I compared the sources of pygobject-3.0.0 and 3.21.0 and it seems that they changed pygobject.h in version 3.7.91.<br>
> So i downloaded gyobject-3.8.3 and was able to compile and install gyobject and gst-python-1.8.1.<br>
><br>
> The problem is when I run my python script, stillmy older gst-python 1.2.0 version is used and not version 1.8.1.<br>
><br>
> How can i tell python to use the new gi with gst 1.8.1?<br>
><br>
> Kind regards<br>
><br>
> JB<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>