【发布时间】:2019-01-31 16:40:29
【问题描述】:
我正在尝试在 Dash 中显示一个表格。我导入 dash_table 并收到错误消息: KeyError:'地图'
python页面很简单:
import dash
import dash_table
import pandas as pd
import dash_html_components as html
app = dash.Dash(__name__)
app.layout = html.Div([
html.H3('A Table')
])
if __name__ == '__main__':
app.run_server(debug=True)
页面一加载,错误就会出现。注释掉“import dash_table”会使错误消失。如您所见,我什至没有创建表。 我正在运行 python 3.6.3。我没有使用虚拟环境。 其他人是否收到此错误消息?有没有 dash_table 的替代品?
【问题讨论】:
标签: python html plotly-dash