Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Gunicorn: command not found when deploying to heroku!

$
0
0

hi
am kind of new the Dash … i have created a dashanalytics.py and managed to run it successfully locally.
but when i try to deploy it to Heroku i get the error [ bash: gunicorn: command not found]
i made sure that:

1- requirements.txt included gunicorn [gunicorn==20.0.4]

2- dashanalytics.py has the following:
- app = dash.Dash(name, external_stylesheets=external_stylesheets)
-server = app.server
-app.run_server(debug=True)

3- and Procfile holds the .py app name
Procfile:
web: gunicorn dashanalytics:server

i tried re-installing all the requirements and creating a new environment … but its always the same error!!

i would really appreciate the help!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles