How to install python-gst (pygst) in ubuntu 16.04

pygst is the python binding of Gstreamer which is a media-framework, it supports various media handling such as audio playback, video playback and editing.

Installation

open up the terminal and enter the following commands

sudo apt-get update
sudo apt-get install python-gst-1.0

Check if its working properly

open up your python shell and import pygst

aman@vostro:~$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygst
>>>

if its not installed properly then an error message will be shown: ImportError: No module named pygst

Comments

Popular posts from this blog

How to make a gui Calculator in Python using Tkinter

How to Install Antlr4 in Ubuntu/Linux