1

[error image1 enter image description here Hello everyone,

I am trying to use the basic example given for dash to plot graph but it is throwing this error in the screenshot. I do not really know what the problem is. Does anyone know if the das core components for plotting graph has changed or something?

This is the link to where I got the code. https://dash.plotly.com/dash-core-components enter link description here

The error said "Dash design kit could not be resolved" Thank you for your help.

8
  • This is how the code look like. import dash import dash_design_kit as ddk import dash_core_components as dcc dcc.Graph( figure=dict( data=[] ) ) Commented Jul 2, 2021 at 4:20
  • Did you try simply dropping the line import dash_design_kit as ddk? Commented Jul 2, 2021 at 5:41
  • Hi @Michel, Thanks for your question. I did not just drop the line only. I actually have import dash, then import dash_design_kit as ddk and then continued. Commented Jul 3, 2021 at 4:46
  • I just copied and pasted as found here link. I noticed any example involving dash-design-kit core components does not work for me while the rest do so far. Is it because I am only using my design account for free? @Michel Commented Jul 3, 2021 at 4:56
  • I have never used dash-design-kit myself, but the code you've shown should work without it. Commented Jul 5, 2021 at 5:19

1 Answer 1

2

The examples on the site you linked should work without dash-design-kit, so you could simply drop the import for them to work.

If your code depends on actually using dash-design-kit, it is not part of the free Dash installation, but part of Dash Enterprise (see here). The error should disappear after acquiring and installing Dash Enterprise.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.