Python 3 cannot find pygst module -
i'm using ubuntu 13.04 , have python 2.7 , 3.3.2 installed. have started using python 3, when trying import "pygst" gstreamer module, error:
importerror: no module named 'pygst'
in python 2.x works fine
python 2.7.4 (default, apr 19 2013, 18:32:33) [gcc 4.7.3] on linux2 type "help", "copyright", "credits" or "license" more information. >>> import pygst >>> exit() python 3.3.2 (default, oct 6 2013, 01:42:16) [gcc 4.7.3] on linux type "help", "copyright", "credits" or "license" more information. >>> import pygst traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: no module named 'pygst'
how can module import in python 3?
thank in advance!
if have ubuntu 13.04, why don't use gstreamer 1.0 through introspection, can import :
from gi.repository import gst
Comments
Post a Comment