Я бы хотел развернуть в Heroku. Но отображаются сообщения об ошибках.
$ git push heroku master
В результате выдается следующая ошибка:
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'
Я думаю, что «Ошибка: не удалось определить версию PostgreSQL из« 10 .3 »».
И мне не удалось выполнить команду "Команда" python setup.py egg_info "с кодом ошибки 1 в / tmp / pip-build-7sfvmk3a / psycopg2 /".
Как это сделать?