-----> Installing requirements with pip
Collecting Flask==0.8
Downloading Flask-0.8.tar.gz (494 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-b10vp26m/flask_796f31ca16564e4e937e606cfdff087d/setup.py", line 62
print "Audit requires PyFlakes installed in your system."""
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
! Push rejected, failed to compile Python app.
! Push failed
I am attempting to deploy a Discord Bot to Heroku for more uptime, and I am getting this error when I attempt to do a manual deployment on the Heroku App.
My requirements.txt file:
Flask==0.8
Jinja2==2.6
Werkzeug==0.8.3
certifi==0.0.8
chardet==1.0.1
distribute==0.6.24
gunicorn==0.14.2
requests==0.11.1
pyflakes==2.5.0
Are there any dependencies I am missing? And is this even the right way to go about this? I know I am missing Pyflakes but it is in my requirements file so I am not sure.