title: Python - No module named pygst
body: <p>I'm using virtualenv on Ubuntu 14.04 with Python 2.7.13, and I'm trying to get <code>import pygst</code> to work (I'm a complete Python noob).</p>
  
  <p>I downloaded:<br>
  <a href="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.12.1.tar.xz" rel="noreferrer">https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.12.1.tar.xz</a></p>
  
  <p>Compiled and installed with:<br>
  <code>./configure --prefix=$VIRTUAL_ENV &amp;&amp; make install</code></p>
  
  <p>However I still cannot <code>import pygst</code>:</p>
  
  <pre><code>&gt;&gt;&gt; import pygst
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named pygst
  </code></pre>
  
  <p>There's also no pip package that matches pygst. I must be missing something really simple, but I can't figure it out.</p>
  
  <p>This does not help either, because it only affects the system Python installation, not virtualenv:   </p>
  
  <pre><code>sudo apt-get install python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly
  </code></pre>
  
  <p>How do I install pygst with virtualenv?</p>