Deploying Dash App to AWS beanstalk

I am deploying Dash App to the AWS beanstalk. I tried to deploy the Flask app, and it is working fine, but with Dash, I get an error.
I checked log files, and it seems that loading the Dash library is a problem.

Mar 29 21:48:42 ip-172-31-44-204 web: import dash
Mar 29 21:48:42 ip-172-31-44-204 web: ModuleNotFoundError: No module named ‘dash’

requirements.txt file has all the Dash references.

Any suggestions?

I think I found the problem. I changed the code

app = dash.Dash()
to
application = app= dash.Dash()

It is running now.