I'd like to deploy to Heroku. But the error messages are displayed.
$ git push heroku master
This generates the following error output:
remote: Error: could not determine PostgreSQL version from '10.3'
remote:
remote: ----------------------------------------
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7sfvmk3a/psycopg2/
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to ayblog.
remote:
To https://git.heroku.com/ayblog.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/ayblog.git'
I think "Error: could not determine PostgreSQL version from '10.3'" is wrong.
And I thing "Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7sfvmk3a/psycopg2/" is also wrong.
How to do that?