title: Psycopg installation on windows
body: <p>I am trying to install psycopg2 under Windows (Windows 7, 64 bit). I am using Python 2.7.2 <a href="http://code.google.com/p/pythonxy/wiki/Downloads" rel="noreferrer">from Python(x,y)</a> and PostgreSQL 9.2.1 .</p>
  
  <p>My first try was using the windows port that is downloadable from <a href="http://www.stickpeople.com/projects/python/win-psycopg/" rel="noreferrer">http://www.stickpeople.com/projects/python/win-psycopg/</a> (psycopg2-2.4.5.win-amd64-py2.7-pg9.1.3-release.exe). I get a message then that</p>
  
  <pre><code>Python 2.7 required but was not found in the registry
  </code></pre>
  
  <p>In the next dialogue it does not allow me to choose any python installations. All other programs and installations find my python happily.</p>
  
  <p>This being failed, I tried to use the source package directly from <a href="http://pypi.python.org/pypi/psycopg2" rel="noreferrer">http://pypi.python.org/pypi/psycopg2</a> but after trying:</p>
  
  <pre><code>python setup.py install
  </code></pre>
  
  <p>I am now stuck with the error message:</p>
  
  <pre><code>error: Unable to find vcvarsall.bat
  </code></pre>
  
  <p>Does anybody have an idea how to solve this?</p>