警告
TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
from .autonotebook import tqdm as notebook_tqdm
原因:
环境中缺少 IProgress,可能是因为您的 Jupyter Notebook 或 ipywidgets 版本较旧。
解决方法:
pip install --upgrade jupyter ipywidgets
然后重启环境。