Closed XenonR closed 6 years ago
You probably have some other file or library called progressbar
which is conflicting.
Try this to find out what it's importing:
import progressbar
print(progressbar)
<module 'progressbar' from '/opt/loc/progressbar.py'>
facepalm
Thanks a lot, i feel stupid now.
I can't even tell you how often I've had similar issues, they're quite annoying ;)
Description
I'm unable to execute the provided example.py also
import progressbar; print(progressbar.__version__)
results in error (see section Versions below). Already tried to reinstall fromprogressbar2-3.37.1-py2.py3-none-any.whl
(was never working). Additionally this was the first version installed.Code
Copy&Paste from RAW: https://github.com/WoLpH/python-progressbar/blob/develop/examples.py
Versions
3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170118]
4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64
pip3 list
Thanks.