Looking at this make sure you have at least JupyterLab 3.0
Then can just do:
Quick test with my own environment.
Then can just do:
pip install ipywidgetsThis was the old way for version 2 of JupyterLab
jupyter labextension install @jupyter-widgets/jupyterlab-manager
.Quick test with my own environment.
# Node version (tom_env) G:\div_code λ node -v v16.15.1 # jupyter lab version (tom_env) G:\div_code λ jupyter lab -V 3.3.4 # install (tom_env) G:\div_code λ pip install jupyterlab_widgets Requirement already satisfied: jupyterlab_widgets in g:\miniconda3\envs\tom_env\lib\site-packages (1.0.2)So if start Jupyter lab.
(tom_env) G:\div_code λ jupyter lab [I 2023-04-08 18:35:31.545 ServerApp] jupyterlab | extension was successfully linked. .....Then in Notebook can use widgets.