Hi ,
I tried to use dash with gunicorn.
I took the example " Using Plotly Dash" in user-guide.
/usr/local/miniconda3/bin/python3 app.py # this worked
But:
/usr/local/miniconda3/bin/gunicorn --workers 4 --worker-class gevent --bind 127.0.0.1:8888 app:app.server
it failed:
…
Failed to parse ‘app.server’ as an attribute name or function call.
Do you have any idea what I am doing wrong ?
regards
Without seeing the contents of your app.py file, we can only guess. Maybe you forgot to define the server variable (that’s at least what th error message indicates)?