title: ImportError: No module named 'psycopg2'
body: <p>I've already installed the dependencies with <code>sudo apt-get build-dep python-psycopg2</code> and then installing <code>psycopg2</code> with <code>sudo pip install psycopg2</code> and even with <code>easy_install psycopg2</code>. But even after all this, if I run <code>python3 code.py</code> I get </p>
  
  <pre><code>ImportError: No module named 'psycopg2'
  </code></pre>
  
  <p>If I run <code>sudo apt-get build-dep python3-psycopg2</code> I get </p>
  
  <blockquote>
    <p>Picking 'psycopg2' as source package instead of 'python3-psycopg2'</p>
    
    <p>0 upgraded, 0 newly installed, 0 to remove and 144 not upgraded.</p>
  </blockquote>
  
  <p>Same with <code>sudo apt-get build-dep python-psycopg2</code></p>
  
  <p>Please help.</p>