title: PostgreSQL: how to install plpythonu extension
body: <p>I'm running PostgreSQL 9.3.1 on Ubuntu 12.04.4.  I'd like to use the plpython language extension but I get an error when I try to use it I get:</p>
  <p><code>ERROR:  language &quot;plpythonu&quot; does not exist</code></p>
  <p>When I try to create the extension:</p>
  <pre class="lang-sql prettyprint-override"><code>CREATE EXTENSION plpythonu
  </code></pre>
  <p>I get <code>ERROR: could not access file &quot;$libdir/plpython2&quot;: No such file or directory</code>
  After much searching and digging through blog posts, I've tried installing additional packages, and have copied all the plpython files from /usr/share/postgresql/9.1/extension to /opt/bitnami/postgresql/share/extension where PostgreSQL seems to be looking for them. That at least got me to a point at which PostgreSQL actually <em>sees</em> the available extensions. When I run:</p>
  <pre class="lang-sql prettyprint-override"><code>SELECT name, default_version, installed_version FROM pg_available_extensions WHERE name LIKE('plpy*')
  </code></pre>
  <p>I get :</p>
  <pre><code>    name    | default_version | installed_version 
  ------------+-----------------+-------------------
   plpython2u | 1.0             | 
   plpython3u | 1.0             | 
   plpythonu  | 1.0             | 
  </code></pre>
  <p>There are still no plpython libraries that I can see in <code>/opt/bitnami/postgresql/lib</code>. Can anybody help me get through remaining steps to make the extension work? Thanks in advance!</p>