papermill icon indicating copy to clipboard operation
papermill copied to clipboard

Tqdm auto no progress bar

Open quancore opened this issue 3 years ago • 3 comments

🐛 Bug

I am using tqdm auto in my notebook however my progress bar is not progressing, it stays at zero. I have set log_output True and progress_bar True but it still the same.

quancore avatar Jun 26 '21 22:06 quancore

Sorry I missed this issue when it was reported.

In what context is this running? I get progress bar with default arguments from within a notebook in jupyter classic. Have you tried upgrading your dependencies in the environment?

MSeal avatar Jul 29 '21 05:07 MSeal

I have the same issue. Given the following notebook

from tqdm.auto import tqdm
import time

for x in tqdm(range(3)):
    print(x)
    time.sleep(1)

when executing it using papermill --log-output --progress-bar tmp.ipynb out.ipynb, then the progress bar does not update. A simple fix is to instead import from tqdm import tqdm.

NOTE: Using papermill 2.4.0, tqdm 4.65.0, python 3.10.6 on a Ubuntu OS.

cgebbe avatar Jul 19 '23 09:07 cgebbe

Same problem here @cgebbe , did you find a solution ?

lartiguebe avatar Feb 08 '24 22:02 lartiguebe