VoiceAssistantWebHook icon indicating copy to clipboard operation
VoiceAssistantWebHook copied to clipboard

Issue deploying app to Heroku. Error: could not determine PostgreSQL version from '10.4'

Open adoyon23 opened this issue 6 years ago • 0 comments

I tried deploying the app to Heroku and it failed. The build log is below. The error message says it cannot determine PostgreSQL version from 10.4.

-----> Python app detected
-----> Installing python-3.6.6
-----> Installing pip
-----> Installing SQLite3
-----> Installing requirements with pip
       Collecting click==6.7 (from -r /tmp/build_523ee5763181e67c9fbd4bbae63b4134/requirements.txt (line 1))
         Downloading https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71kB)
       Collecting Flask==0.12 (from -r /tmp/build_523ee5763181e67c9fbd4bbae63b4134/requirements.txt (line 2))
         Downloading https://files.pythonhosted.org/packages/0e/e9/37ee66dde483dceefe45bb5e92b387f990d4f097df40c400cf816dcebaa4/Flask-0.12-py2.py3-none-any.whl (82kB)
       Collecting itsdangerous==0.24 (from -r /tmp/build_523ee5763181e67c9fbd4bbae63b4134/requirements.txt (line 3))
         Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB)
       Collecting Jinja2==2.9.4 (from -r /tmp/build_523ee5763181e67c9fbd4bbae63b4134/requirements.txt (line 4))
         Downloading https://files.pythonhosted.org/packages/4b/d0/c967cd61324702887b00b1e8e78db94db734a9018443051a0854c16a8fe1/Jinja2-2.9.4-py2.py3-none-any.whl (274kB)
       Collecting MarkupSafe==0.23 (from -r /tmp/build_523ee5763181e67c9fbd4bbae63b4134/requirements.txt (line 5))
         Downloading https://files.pythonhosted.org/packages/c0/41/bae1254e0396c0cc8cf1751cb7d9afc90a602353695af5952530482c963f/MarkupSafe-0.23.tar.gz
       Collecting psycopg2==2.6.2 (from -r /tmp/build_523ee5763181e67c9fbd4bbae63b4134/requirements.txt (line 6))
         Downloading https://files.pythonhosted.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz (376kB)
           Complete output from command python setup.py egg_info:
           running egg_info
           creating pip-egg-info/psycopg2.egg-info
           writing pip-egg-info/psycopg2.egg-info/PKG-INFO
           writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
           writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
           writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
           Error: could not determine PostgreSQL version from '10.4'
           
           ----------------------------------------
       Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-u4aapfy9/psycopg2/
 !     Push rejected, failed to compile Python app.
 !     Push failed'

adoyon23 avatar Aug 04 '18 05:08 adoyon23