jupyter-widgets / ipywidgets

Interactive Widgets for the Jupyter Notebook
https://ipywidgets.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.13k stars 950 forks source link

Issue with @jupyter-widgets/jupyterlab-manager not updating #3218

Open pmarcellino opened 3 years ago

pmarcellino commented 3 years ago

When I run jupyter labextension update --all it always tells me No compatible version found for @jupyter-widgets/jupyterlab-manager!. I recently updated jupyter lab from v2.x to 3.0.16. Is this extension a leftover that is no longer needed? what steps should I use to troubleshoot this issue further?

jupyter labextension update --all
Extension 'plotlywidget' already up to date
Extension 'jupyterlab-dash' already up to date
Extension 'jupyterlab-tabular-data-editor' already up to date
Extension 'jupyterlab-plotly' already up to date
Extension 'nbdime-jupyterlab' already up to date
No compatible version found for @jupyter-widgets/jupyterlab-manager!
Extension '@ryantam626/jupyterlab_code_formatter' already up to date
jupyter labextension list
JupyterLab v3.0.16
/opt/tljh/user/share/jupyter/labextensions
        jupyterlab-execute-time v2.0.4 enabled OK (python, jupyterlab_execute_time)
        nbdime-jupyterlab v2.1.0 enabled OK
        jupyter-matplotlib v0.9.0 enabled OK
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK (python, jupyterlab_widgets)
        @jupyterlab/server-proxy v3.0.2 enabled OK
        @jupyterlab/git v0.30.1 enabled OK (python, jupyterlab-git)
        @voila-dashboards/jupyterlab-preview v2.0.2 enabled OK (python, voila)
        @ryantam626/jupyterlab_code_formatter v1.4.10 enabled OK (python, jupyterlab-code-formatter)

Other labextensions (built into JupyterLab)
   app dir: /opt/tljh/user/share/jupyter/lab
        jupyterlab-dash v0.4.0 enabled OK
        jupyterlab-plotly v4.14.3 enabled OK
        jupyterlab-tabular-data-editor v1.0.0 enabled OK
        plotlywidget v4.14.3 enabled OK
jtpio commented 3 years ago

Thanks @pmarcellino.

With JupyterLab 3.0, it should be needed to update the extensions manually with the jupyter labextension update command anymore.

Is this extension a leftover that is no longer needed? what steps should I use to troubleshoot this issue further?

You might want to update ipywidgets with pip install --upgrade ipywidgets to grab the latest version, which should also install the JupyterLab extension automatically.

pmarcellino commented 3 years ago

@jtpio Can you clarify what you mean here? With JupyterLab 3.0, it should be needed to update the extensions manually with the jupyter labextension update command anymore. Hasn't it always been needed?

jtpio commented 3 years ago

Ah there was a typo:

it should be needed

-> it shouldn't be, most extensions have been updated so they can be distributed and installed with pip.

pmarcellino commented 3 years ago

Here's the ipywidgets version I'm using

conda list | grep ipywidgets
ipywidgets                7.6.3              pyhd3deb0d_0    conda-forge
pmarcellino commented 3 years ago

Would uninstalling and reinstalling ipywidgets be helpful?

jtpio commented 3 years ago

Yes, I would also recommend creating a new conda environment.