相關設定 編輯器vscode python版本 3.6.8
app_run.py
Procfile
web: gunicorn app_run:app
requirements.txt
runtime.txt
python-3.6.8
流程都照heroku教學執行
部署完打開網頁顯示
Application error
查看日誌
heroku logs --tail
顯示如下
2020-05-21T08:14:18.942707+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=pythonis1234.herokuapp.com request_id=d4afe2bb-c61e-48dd-92c6-a713564227df fwd="101.137.120.95" dyno= connect= service= status=503 bytes= protocol=https
2020-05-21T08:14:19.406106+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=pythonis1234.herokuapp.com request_id=f1902ff3-5a77-41da-b68d-c40385383c0a fwd="101.137.120.95" dyno= connect= service= status=503 bytes= protocol=https
2020-05-21T08:14:21.573331+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=pythonis1234.herokuapp.com request_id=83a03e22-67ef-4096-a166-8fdd28b9d96f fwd="101.137.120.95" dyno= connect= service= status=503 bytes= protocol=https
2020-05-21T08:14:22.017136+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=pythonis1234.herokuapp.com request_id=f3446580-a729-4331-84ea-d26a3f48acd2 fwd="101.137.120.95" dyno= connect= service= status=503 bytes= protocol=https
查看No web processes running原因
heroku ps:scale web=1
顯示
Scaling dynos... !
! Couldn't find that process type (web).
overview
中間猜想有沒有可能是python版本問題 但換各版本都是一樣
目前到這一步後 就不知道如何解決
麻煩各位先進提供解決方向思考 感謝您
謝謝以下的回覆 都有照做了 還是沒辦法 感謝您