网站首页 文章专栏 在python中实现进度条
在python中实现进度条
创建于:2018-04-06 16:00:00 更新于:2024-04-19 20:23:13 羽瀚尘 607
python python,进度条

试图通过pip

在python2中可以很方便的安装progressbar模块,但是python3中会报如下错误: ```python Collecting progressbar Downloading progressbar-2.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-ghlr5eic/progressbar/setup.py", line 5, in import progressbar File "/tmp/pip-build-ghlr5eic/progressbar/progressbar/init.py", line 59, in from progressbar.widgets import * File "/tmp/pip-build-ghlr5eic/progressbar/progressbar/widgets.py", line 121, in class FileTransferSpeed(Widget): File "/home/wenfeng/anaconda3/envs/tensorflow/lib/python3.6/abc.py", line 133, in new cls = super().new(mcls, name, bases, namespace, **kwargs) ValueError: 'format' in slots conflicts with class variable