-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipywidgets < 8 e.g. 7.7 cannot be installed with pip #3558
Comments
We released ipywidgets 7.7.2 and 7.6.5 to fix this issue. It turns out that ipywidgets 7 had not been giving a ceiling for its jupyterlab_widgets dependency, so it was always pulling in the newest version. ipywidgets 7.7.2 and 7.6.5 correct this to pull in jupyterlab_widgets 1.x. |
A few more comments:
Thanks for reporting this. Luckily, someone else reported it yesterday so we could quickly release the 7.7.2 and 7.6.5 bugfixes. |
Thanks @jasongrout this works perfectly. Will change my package dependencies accordingly |
Hi! Have this problem, but upgrading to ipywidgets 7.7.2 hasn't helped. I'm running a jupyter lab installed w/ Anaconda on Ubuntu on Windows. Wondered if there was something I'm missing? Apologies if it's something obvious, and appreciate in advance. Code is example problem, but im seeing it outside just tqdm (e.g,, pandas_profiling.ProfileReport.to_file() also sending same error) |
If you have ipywidgets 7.7.x, you need jupyterlab_widgets 1.1.1, so please check to make sure you have that version installed. |
I have the same issue. Installed ipywidgets==7.7.2 but I still get the same error |
I guess the environment where jupyter lab runs has a different version installed than the kernel. Could that be right? |
Apparently 7.7.1 has a bug that surfaces in Jupyter notebooks: jupyter-widgets/ipywidgets#3558 (comment)
Description
Installing ipywidgets 7.7 after jupyterlab leads to a non working ipywidgets environment (Javascript error)
Reproduce
Create a fresh environment with the latest Jupyterlab
This leads to
Now, install ipywidgets 7.7:
And here we have the wrong dependency of
@jupyter-widgets/jupyterlab-manager
and ipywidgets is broken:Downgrading
jupyterlab-widgets
to 1.1.1 will fix the environmentNow the version of
@jupyter-widgets/jupyterlab-manager
fits to ipywidgets 7.7Expected behavior
pip install ipywidgets==7.7
should lead to a working environment.Many existing custom widgets will not work with ipywidgets 8.0 out of the box.
Context
Troubleshoot Output
Command Line Output
Browser Output
If using JupyterLab
Installed Labextensions
The text was updated successfully, but these errors were encountered: