title: Installing psycopg2 (postgresql) in virtualenv on windows
body: <p>I installed psycopg2 in virtualenv using <code>easy_install psycopg2</code>. I did not see any errors and looks like installation went fine.. there is an egg file created in the site-packages dir for psycopg2..</p>
  
  <p>but when I run import psycopg2 in the interpreter, I am getting following error.. any clue? How can I fix it.. any other way to install psycopg2 in virtualenv.. </p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "build\bdist.win32\egg\psycopg2\__init__.py", line 69, in &lt;module&gt;
    File "build\bdist.win32\egg\psycopg2\_psycopg.py", line 7, in &lt;module&gt;
    File "build\bdist.win32\egg\psycopg2\_psycopg.py", line 6, in __bootstrap__
  </code></pre>
  
  <p>Thanks.</p>