Jupyter Lab中的交互式3d图?

时间:2020-08-26 05:53:22

标签: python node.js matplotlib interactive jupyter-lab

在过去的几个小时中,我花了很多时间按照各种说明尝试在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。

0 个答案:

没有答案