2018-04-16, 22:53
Encountering a bit of a problem deploying to Heroku.
Apart from the hostname and password everything in the config is unchanged. Suggestions appreciated - thanks!
Quote:-----> Python app detected
! The latest version of Python 2 is python-2.7.14 (you are using python-2.7.13, which is unsupported).
! We recommend upgrading by specifying the latest version (python-2.7.14).
Learn More: https://devcenter.heroku.com/articles/python-runtimes
-----> Installing python-2.7.13
-----> Installing pip
-----> Installing requirements with pip
Collecting gunicorn (from -r /tmp/build_a8dd076287a329584d31358841053d78/requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/...ne-any.whl (111kB)
Collecting pytz (from -r /tmp/build_a8dd076287a329584d31358841053d78/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/...ne-any.whl (510kB)
Collecting flask-ask>=0.9.8 (from -r /tmp/build_a8dd076287a329584d31358841053d78/requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/...9.8.tar.gz (40kB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-eE1HKR/flask-ask/setup.py", line 8, in <module>
from pip.req import parse_requirements
ImportError: No module named req
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-eE1HKR/flask-ask/
! Push rejected, failed to compile Python app.
! Push failed
Apart from the hostname and password everything in the config is unchanged. Suggestions appreciated - thanks!