title: ImportError: No module named psycopg2
body: <p>In installation process of OpenERP 6, I want to generate a config file with these commands:</p>
  <pre class="lang-sh prettyprint-override"><code>cd /home/openerp/openerp-server/bin/
  </code></pre>
  <pre class="lang-sh prettyprint-override"><code>./openerp-server.py -s --stop-after-init -c /home/openerp/openerp-server.cfg
  </code></pre>
  <p>But it always showed the message: <code>ImportError: No module named psycopg2</code></p>
  <p>When I checked for psycopg2 package, it's already installed. Package <code>python-psycopg2-2.4.5-1.rhel5.x86_64</code> is already installed to its latest version. Nothing to do. What's wrong with this? My server is CentOS, I've installed Python 2.6.7.</p>