tqdm/tqdm

Notebook progress bar not shown using `tqdm=4.66.1`, `notebook=7.0.7`, `ipywidgets=8.1.1`

david-zwicker opened this issue · 1 comments

  • I have marked all applicable categories:
    • exception-raising bug
    • visual output bug
  • I have visited the source website, and in particular
    read the known issues
  • I have searched through the issue tracker for duplicates
  • I have mentioned version numbers, operating system and
    environment, where applicable:

Code that should show a nice progress bar:

from tqdm.notebook import tqdm
from time import sleep

for _ in tqdm(range(10)):
    sleep(0.2)

but nothing shows up. I get an ASCII progress bar when I use from tqdm import tqdm instead.

Package versions are tqdm=4.66.1, notebook=7.0.7, ipywidgets=8.1.1, and

import tqdm, sys
print(tqdm.__version__, sys.version, sys.platform)
≫≫ 4.66.1 3.12.0 | packaged by conda-forge | (main, Oct  3 2023, 08:43:38) [Clang 15.0.7 ] darwin

I'm using conda-24.1.2 and tqdm-4.65.0; with ipywidgets-8.1.2, jupyterlab_widgets-3.0.10, and jupyterlab-4.0.11 I have the same issue as above.

4.65.0 3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 12:57:28) [Clang 14.0.6 ] darwin