When I want to deploy a simple Dash app on AWS Elasticbeanstalk, this error occur:
TypeError: 'Dash' object is not callable mod_wsgi (pid=5180): Exception occurred processing WSGI script '/opt/python/current/app/application.py'
I have tried:
application = dash.Dash(__name__) server = application.server
as told in this issue
But the error still exist, I’m wondering where can I fix this problem, perhaps by changing wsgi setting?
Any suggestion is much appreciated, thanks in advance!
application notation in application.py is the common term for deploying flask apps on Elasticbeanstalk