如何解决TQDM Iprogress导入问题?

发布于 2025-02-11 11:40:46 字数 691 浏览 0 评论 0原文

我正在python38中执行:tqdm(train_imagedataloader_resnet): 导入对进程栏的组件导入的问题存在问题。

文件“ c:\ python \ python38 \ lib \ lib \ site-packages \ tqdm \ notesbook.py”,第242行,in init self.container = self.status_printer(self.fp,total,self.desc,self.ncols) 文件“ c:\ python \ python38 \ lib \ lib \ site-packages \ tqdm \ tqdm \ notesbook.py”,第118行,在status_printer中 提高Importerror(warn_noipyw) Importerror:找不到Iprogress。请更新Jupyter和Ipywidgets。看 httpps://ipywidgets.readthedc.io readthedocs.io >

我已经安装了iPywidgets和iProgress,我没有使用jupyter笔记本。 我能做些什么?

I am execucting in python38: tqdm(train_ImageDataloader_ResNet):
There is a problem importing the component that disiplays the progess bar.

File "C:\Python\Python38\lib\site-packages\tqdm\notebook.py", line 242, in init
self.container = self.status_printer(self.fp, total, self.desc, self.ncols)
File "C:\Python\Python38\lib\site-packages\tqdm\notebook.py", line 118, in status_printer
raise ImportError(WARN_NOIPYW)
ImportError: IProgress not found. Please update jupyter and ipywidgets. See
https://ipywidgets.readthedocs.io/en/stable/user_install.html

I have installed ipywidgets and iprogress, I am not using Jupyter notebook.
what can I do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文