PyPI 'psycopg2-binary' package instead. code example Example: psycopg2-binary install pip install psycopg2-binary