52 字
1 分鐘
Heroku 伺服器顯示錯誤gunicorn: command not found

如果你的 Procfile 設定檔案是如下的話:

Terminal window
web: gunicorn application:app
或
web gunicorn app:app --preload

需要在 requirements.txt 新增 gunicorn

Terminal window
gunicorn==19.3.0

參考文章:(在新分頁開啟)https://cloud.tencent.com/developer/ask/138111(在新分頁開啟)

Heroku 伺服器顯示錯誤gunicorn: command not found
https://aishuafei.com/posts/heroku-伺服器顯示錯誤gunicorn-command-not-found/
作者
愛耍廢
發佈於
2020-03-06
許可協議
CC BY-NC-SA 4.0