How to get ipywidgets working in Jupyter Lab?

后端 未结 8 1117
北海茫月
北海茫月 2020-12-07 17:39

In Jupyter Notebook, ipywidgets work fine, however they seem to not work in Jupyter Lab (which is supposedly better than Notebook).

I followed these directions.

8条回答
  •  佛祖请我去吃肉
    2020-12-07 18:04

    According to ipywidgets.readthedocs.io documentation (Installing the JupyterLab Extension), for "JupyterLab" do the following steps in "Anaconda Prompt".

    Step 1

    conda install -c conda-forge nodejs
    

    Step 2

    jupyter labextension install @jupyter-widgets/jupyterlab-manager
    

提交回复
热议问题