Send_data_frame and Download "missing" from dcc

Was trying to use dcc.Download and dcc.send_data_frame and was constantly met with the module 'dash_core_components' has no attribute error.

Luckily I did some legwork already and found a solution:

  • Download has been moved to dash_extensions per this discussion so can be called with from dash_extensions import Download

  • send_data_frame appears to have been moved into another dcc module called “express”? I was successful with from dash.dcc.express import send_data_frame

Anyone else run into this before?

Hi @cheneypinata,
Welcome to the Dash Community.
This is a bug that was reported here. If you update your imports at the very beginning of the app to only one line, as seen below, it would work.

from dash import Dash, dcc, html, Input, Output

Thank you for pointing this out. We will update the documentation.