GNOME Bugzilla – Bug 712236
gst-python bindings for python 3.2 don't working
Last modified: 2013-11-26 10:40:38 UTC
I build latest gst-python 1.0_1.1.90 from debian pkg. repository with gstreamer 1.2.1 And I get this traceback when I want to use it in python 3.2 Traceback (most recent call last):
+ Trace 232760
from gi.repository import GObject, Gst
dynamic_module._load()
overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
import _gi_gst
code: #!/usr/bin/python3.2 from os import path import gi gi.require_version('Gst', '1.0') from gi.repository import GObject, Gst All fine with binding for python 2.7 ubuntu 12.04 32bit or debian 7.0 (raspbian) on rpi
Works fine here with Python 3.3, but with 3.2 even "import gi" fails already for me: Python 3.2.4 (default, May 8 2013, 20:55:18) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import gi Traceback (most recent call last):
+ Trace 232837
from ._gi import _API
I consider this a packaging bug or python-gi generally not being compatible with Python 3.2.