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
jupyter lab: does not render progressbar #1310
Comments
I found that this is an issue of |
@wookayin you mean there's some issue under https://github.com/jupyter-widgets/ipywidgets/issues? |
Sorry, is there some fix or workarounds? |
downgrading ipywidgets to below <8 didn't work for me |
Downgrading ipywidgets to 7.7.1 and jupyterlab-widgets to 1.1.1 worked for me. |
Yeah, just limit the version like this at current stage
|
|
Does #1361 ( |
Hi @casperdcl , it works for me!
|
Yes, my setup is under the |
pinning ipywidgets to <8 is becoming quite a constraint quickly. would be a pain to say goodbye to tqdm. :( |
Should be fixed now in tqdm>=4.64.1 |
Still have this issue.
Rolling back ipywidgets helps. |
Those specs work for me. Are you sure you're connecting to the right |
I use VS Code for jupyter notebooks, if it is important. Here is the screenshot Whenever I run the cell with
|
I also have problems with the same configuration as postrou.
For me, nothing is displayed. |
No, tqdm works as expected in the environment with following versions created by conda on windows 10:
|
@Jajiko seems you still use the legacy jupyter notebook. |
Hi all, Was able to resolve this on my end, I hope it's helpful for others. Basically, I had been using jupyter notebook for a while and recently switched to lab. There were a few stray notebook extensions, mainly matplotlib and js-widgets, still hanging around. I believe these caused my issues. I completely uninstalled and removed those notebook extensions. Then, making sure that no server was running, I did a Finally, a After the three steps above, the widgets are back! This might be more specific to my broken environment than the problem others are having, just posting in case it helps anyone. |
I finally found a solution! Based on the advice of @enzokro, I found that running the following two commands before launching Jupyter Lab makes the widgets appear properly:
I didn't need to do any of the other steps @enzokro mentioned, this is enough to make it work for me. Also note that if you put this in a Dockerfile RUN directive, you must run (see my post above for more info about my environment) |
This is still broken with: |
Don't get any output with vanilla jupyter on MacOS:
|
environment, where applicable:
Bug
From some point in my environments, I was seeing tqdm.notebook renders like a JSON rather than a HTML widget or progress bar. It happens in a jupyter lab -- jupyter notebook is fine.
I suspect this is due to some combination of other plugins and extensions, but I cannot easily find why so that's why I file this issue to keep track of my troubleshooting.
Environment information:
The text was updated successfully, but these errors were encountered: