在过去的几个小时中,我花了很多时间按照各种说明尝试在Windows 10和Chrome的Jupyter Lab中获得3d绘图的交互性。我已经:
已安装nodejs和ipympl
运行命令
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib
jupyter nbextension enable --py widgetsnbextension
最后,
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。