Jupyter Lab中的交互式3d图?

问题描述

在过去的几个小时中,我花了很多时间按照各种说明尝试在Windows 10和Chrome的Jupyter Lab中获得3d绘图的交互性。我已经:

  1. 已安装nodejs和ipympl

  2. 运行命令

    jupyter labextension install @jupyter-widgets/jupyterlab-manager

    jupyter labextension install jupyter-matplotlib

    jupyter nbextension enable --py widgetsnbextension

  3. 最后,

    conda update jupyterlab && jupyter labextension update --all

最后,我得到了这个错误

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\Me\\Miniconda3\\share\\jupyter\\lab\\staging'

我不确定如何最好地管理它:我应该简单地删除staging目录并再次运行最后一个命令吗?还是应该从头开始完全重新安装Jupyter Lab?

此外,当我使用%matplotlib widget运行单元格时,也会收到错误消息

 Error displaying widget: model not found

这是一个完全的谜。

我正在使用jupyter 4.6.3,jupyter lab 2.2.6,npm版本6.4.1,python 3.7.6。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)