Dash Plotly Graph(Dash 核心组件抛出错误)

Dash Plotly Graph (Dash core component throwing error)

[错误图片1 enter image description here 大家好,

我正在尝试使用为破折号给出的基本示例来绘制图形,但它在屏幕截图中抛出此错误。我真的不知道问题出在哪里。有谁知道绘制图形的 das 核心组件是否发生了变化?

这是我获取代码的 link。 https://dash.plotly.com/dash-core-components enter link description here

错误提示“无法解析 Dash 设计工具包” 谢谢你的帮助。

您链接的站点上的示例应该在没有 dash-design-kit 的情况下工作,因此您只需删除导入即可使它们工作。

如果您的代码依赖于实际使用 dash-design-kit,它不是免费 Dash 安装的一部分,而是 Dash Enterprise 的一部分(参见 here)。获取并安装 Dash Enterprise 后错误应该会消失。