Installing Psycopg2 on Windows

Last Updated: 03 July 2012

postgres python windows

This article is a work in progress, or documents a feature that is not yet released to all users. This article is unlisted. Only those with the link can access it.

Windows users: Installing Psycopg2 via pip will sometimes fail if you don’t have your compilers setup properly.

An alternative installation method is to install Psycopg2 with a pre-bundled executable:

> easy_install http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.4.5.win32-py2.7-pg9.1.3-release.exe