Python 3.13 is not currently supported by psycopg2 and psycopg2-binary on Windows machine. Use Python 3.12 instead. See the available wheels for specific platforms on psycopg2-binary and psycopg2.