I am trying to install and run GStreamer on hassbian 59.2 with python 3.6.
Gstreamer never shows up as a media player. Looking at the logs I see the following error
Error while setting up platform gstreamer
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/media_player/gstreamer.py", line 40, in setup_platform
from gsp import GstreamerPlayer
File "/srv/homeassistant/lib/python3.6/site-packages/gsp/__init__.py", line 11, in <module>
import gi # pylint: disable=import-error
File "/srv/homeassistant/lib/python3.6/site-packages/gi/__init__.py", line 42, in <module>
from . import _gi
ImportError: cannot import name '_gi'
I have set up the symbolic links properly for gi (I think).
Is there a known issue with GStreamer and python 3.6? If not, can anyone point to what I am doing wrong?
TIA
Steven