NiltonVolpato / python-progressbar

Text progress bar library for Python
Other
412 stars 105 forks source link

Import error in examples.py #59

Closed thekswenson closed 6 years ago

thekswenson commented 6 years ago

I try to run examples.py and get:

=> python examples.py Traceback (most recent call last): File "examples.py", line 7, in from progressbar import AnimatedMarker, Bar, BouncingBar, Counter, ETA, \ ImportError: cannot import name AdaptiveETA

NiltonVolpato commented 6 years ago

I think I just fixed that. Can you try again?

thekswenson commented 6 years ago

All good.

RuiApostolo commented 5 years ago

I'm still having this issue, on version 2.5 (python2.7):

$ sudo -H pip install progressbar
$ wget https://raw.githubusercontent.com/niltonvolpato/python-progressbar/master/examples.py
$ python2.7 examples.py
Traceback (most recent call last):
  File "examples.py", line 7, in <module>
    from progressbar import AnimatedMarker, Bar, BouncingBar, Counter, ETA, \
  File "/home/rfapostolo/data/test/progressbar.py", line 7, in <module>
    from progressbar import AnimatedMarker, Bar, BouncingBar, Counter, ETA, \
ImportError: cannot import name AnimatedMarker