Answer the question
In order to leave comments, you need to log in
How to prevent error when installing progressbar on python3 via pip?
Started learning python. I wanted to play with the progressbar. But installing via pip fails.
Tried pip, pip3 and pip3.6 to no avail.
Collecting progressbar
Using cached progressbar-2.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-359h8050/progressbar/setup.py", line 5, in <module>
import progressbar
File "/tmp/pip-build-359h8050/progressbar/progressbar/__init__.py", line 59, in <module>
from progressbar.widgets import *
File "/tmp/pip-build-359h8050/progressbar/progressbar/widgets.py", line 121, in <module>
class FileTransferSpeed(Widget):
File "/usr/lib/python3.6/abc.py", line 133, in __new__
cls = super().__new__(mcls, name, bases, namespace)
ValueError: 'format' in __slots__ conflicts with class variable
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wmyxacdu/progressbar/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question