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!
P.S.
the application notation in application.py is the common term for deploying flask apps on Elasticbeanstalk
application should point to the callable that is the entry point for a WSGI application. For Dash apps, this is the Flask instance that it uses, not the Dash app itself. You want something like this:
nedned, Thanks for the detailed explanation!
Now the application is working like a charm on Elasticbeanstalk.
For other’s reference, the working app look like: