The easy fix is to install psycopg2-2.0.2-py2.4-macosx10.4.zip that can be found here: http://pythonmac.org/packages/py24-fat/