HoloViews 是一个优秀的 Python 可视化库,HoloViews 之于 Bokeh 类似于 seaborn 之于 matplotlib,但是最近(2021.04.23)安装 HoloViews 后 jupyter notebook 无法打开,卡在跳转到tree
那里,经过排查,发现是 HoloViews 的依赖 Panel 导致的,安装 Panel 后会在 [Your anaconda3 path]\anaconda3\etc\jupyter\jupyter_notebook_config.d
中生成一个 panel-client-jupyter.json
,内容为
{
"ServerApp": {
"jpserver_extensions": {
"panel.io.jupyter_server_extension": true
}
},
"NotebookApp": {
"nbserver_extensions": {
"panel": true
}
}
}
看样子是和 jupyter_server_extension
相关的,可能是这里有些问题,移除该文件后即恢复正常。
网友评论