-
Notifications
You must be signed in to change notification settings - Fork 141
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
Progress Bars break in Jupyter Lab #148
Comments
You would need the ipywidgets jlab extension to be installed https://ipywidgets.readthedocs.io/en/stable/user_install.html#installing-the-jupyterlab-extension I don't think there's any way for us to determine from within the notebook whether the output works or not. There could be a config option to always use text progress bars, although I don't know if those would render well in the non TTY output area. |
@mmccarty , do you think it's enough to document that, when used in jlab, you need to explicitly enable the extension? Yes, it does work, I tried it. |
@mmccarty , can you post upstream to tqdm? |
tqdm/tqdm#394 looks related. |
Commented on that issue. Closing this as something we can't do anything about (but I solved it for our own GUI). |
Just wasted an hour on this... :( |
Did the explanation above correctly describe the situation for you, @psarka ? I believe you wouldn't see this if you installed things from conda versus pip (but I may be mistaken). |
Yes, it was the widgets thing. It may be fixed by moving to conda, but my team has settled on using vanilla python. Not sure if I have a suggestion for this situation, except maybe disabling the loading bars by default until tqdm/tqdm#394 is fixed... |
Unfortunately, we can tell if we are in a notebook or but not whether the widget will actually render.
…On February 4, 2019 10:41:39 AM EST, "Paulius Šarka" ***@***.***> wrote:
Yes, it was the widgets thing. It may be fixed by moving to conda, but
my team has settled on using vanilla python.
Not sure if I have a suggestion for this situation, except maybe
disabling the loading bars by default until
tqdm/tqdm#394 is fixed...
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#148 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
This problem re-emerged in one of our containers with Jupyter Notebook, raising this warning message on every call to
The solution was to re-install (with conda) jupyter_nbextensions_configurator and then to re-enable the extensions configuration option (the last one in Jupyter Notebook's Edit menu) for the current user, like this:
The extension used by papermill for displaying progress bars (taken from |
Thanks for the report, @mirekphd . I've never used papermill, so it's nice to have people to check and fix these things for us. |
Instead of a progress bar you get
HBox(children=(IntProgress(value=0, description='100000_Sales_Records.csv', max=11), HTML(value='')))
The text was updated successfully, but these errors were encountered: