Skip to content

Instantly share code, notes, and snippets.

@jegger
Created April 6, 2014 09:51
Show Gist options
  • Save jegger/10003813 to your computer and use it in GitHub Desktop.
Save jegger/10003813 to your computer and use it in GitHub Desktop.
Install (link) gstreamer0.10 (pygst / gst) into a virtualenv
# Replace 'venv' with the foldername of your virtualenv.
# This script links the gst module and it's dependecies into the virtualenv.
# Tested on ubuntu 12.04
sudo apt-get install python-gst0.10
cd venv/lib/python2.7/site-packages
ln -s /usr/lib/python2.7/dist-packages/glib
ln -s /usr/lib/python2.7/dist-packages/gobject
ln -s /usr/lib/python2.7/dist-packages/gst-0.10
ln -s /usr/lib/python2.7/dist-packages/gstoption.so
ln -s /usr/lib/python2.7/dist-packages/gtk-2.0
ln -s /usr/lib/python2.7/dist-packages/pygst.pth
ln -s /usr/lib/python2.7/dist-packages/pygst.py
ln -s /usr/lib/python2.7/dist-packages/pygtk.pth
ln -s /usr/lib/python2.7/dist-packages/pygtk.py
@adam-codeberg
Copy link

Thanks for the list of dependencies. Worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment