Issue here should help: dcc.Location Error Loading Dependencies
Commenting out #dcc.Location and the code runs fine.
#dcc.Location