我在使用Jupyter(3.4.4版)中的tqdm.notebook
进度条时遇到了问题.当我启动for循环时,我得到以下文本作为输出,而不是进度条:
输入:
from tqdm.notebook import tqdm
for i in tqdm(range(100)):
a = 1
输出:
root:
n: 0
total: 100
elapsed: 0.01399087905883789
ncols: null
nrows: 29
prefix: ""
ascii: false
unit: "it"
unit_scale: false
rate: null
bar_format: null
postfix: null
unit_divisor: 1000
initial: 0
colour: null
这是在我将Jupyter更新到最新版本后开始发生的.有关Node.js和ipywidget(参见this one)的常见解决方案并不能解决问题.
tqdm
也是其最新版本(4.63.0).