Cannot import name 'dcc' from 'dash'

This may sound crazy but I encountered this error when deploying my app to aws, It’s working fine running locally. Have anyone seen this before?
ImportError: cannot import name 'dcc' from 'dash' (/var/app/venv/staging-LQM1lest/lib/python3.7/site-packages/dash/__init__.py)
my running versions:

dash==2.4.1
dash-bootstrap-components==1.1.0
dash-core-components==2.0.0
dash-extensions==0.1.1
dash-gif-component==1.1.0
dash-html-components==2.0.0
dash-table==5.0.0

HI @double12
That’s really weird. And your code simply starts with from dash import Dash, dcc, html, etc.?

Hi Adam,

Thanks for the reply, yes it starts with from dash import dcc.
I got it resolved by updating the AWS platform to Python 3.8, still not working on 3.7