[Django]-Error: could not determine PostgreSQL version from '10.3' – Django on Heroku

28👍

The OP’s comment is confirmed in psycopg/psycopg2 issue 594

pip install psycopg2 success and installed version 2.7.3.1.
But I want version 2.6.1

The problem was fixed in #489 released in psycopg 2.7. We don’t have plans to backport the fix to 2.6.

Use a pg_config from a production version of Postgres not from 10 beta 4.

See PR 504

👤VonC

Leave a comment