Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
166 views
in Technique[技术] by (71.8m points)

python - Flask app Heroku Error App Crashed Windows

Im trying to deploy my flask app on heroku for the first time and running into some errors: Here's the log for the application

i havent really installed gunicorn on my windows OS and just followed this tutorial on youtube: https://www.youtube.com/watch?v=h43s0nHV_20

My Procfile contains:

web: gunicorn app:app

My requirements.txt contains:

nltk==3.5
Flask==1.1.2
numpy==1.19.2
Keras==2.4.3

How can I solve this issue? Also from what I know gunicorn is installable on linux only so is there a way around that?

After adding gunicorn in requirements.txt:

App log after adding gunicorn to requirements.txt

question from:https://stackoverflow.com/questions/65559545/flask-app-heroku-error-app-crashed-windows

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

It just says "guicorn not found". Add guicorn to requirements.txt


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...