搜索
您的当前位置:首页正文

Python的Web可视化框架Dash(2)---安装

来源:二三娱乐
说明:本系列Dash文章,均通过Jupyter notebook进行代码和效果演示

安装

pip install dash
pip install dash-daq     # Dash核心后端

上述安装时,会自动安装dash-renderer,dash-core-components,dash-html-components和dash-table;

配置Jupyter notebook

pip install jupyter_plotly_dash

安装成功后,如果在Jupyter notebook运行结果出现404错误,进行如下操作

conda install -c conda-forge jupyter-server-proxy
jupyter serverextension enable jupyter_server_proxy  # jupyter-server-proxy服务器扩展在安装时没有自动启用,这是一个依赖项jupyterlab-dash
Top