papermill
papermill copied to clipboard
Tqdm auto no progress bar
🐛 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.
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?
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.
Same problem here @cgebbe , did you find a solution ?