我的仪表板工作正常。我已经安装了 dash_bootstrap_components 来为我的仪表板提供样式。
我写了pip install dash-bootstrap-components并且完美安装。
但是当我运行该应用程序时,出现此错误:
import dash_bootstrap_components as dbc
Run Code Online (Sandbox Code Playgroud)
ModuleNotFoundError: 没有名为“dash_bootstrap_components”的模块
我有:dash-1.8.0 dash-bootstrap-components-0.8.2