You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm try to install progressbar2 from PyPI, I've got error:
Downloading/unpacking progressbar2
Downloading progressbar2-2.5.0.tar.gz
Running setup.py egg_info for package progressbar2
Traceback (most recent call last):
File "progressbar/__init__.py", line 62, in <module>
from cStringIO import StringIO
ImportError: No module named cStringIO
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/nopox/blabla/build/progressbar2/setup.py", line 5, in <module>
import progressbar
File "progressbar/__init__.py", line 64, in <module>
from StringIO import StringIO
ImportError: No module named StringIO
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "progressbar/__init__.py", line 62, in <module>
from cStringIO import StringIO
ImportError: No module named cStringIO
When I change this (in blabla/build/progressbar2/progressbar/__init__.py) import from
from cStringIO import StringIO
to
from io import StringIO
I've got next error:
ImportError: No module named widgets
So I fix this import from
from widgets import *
to
from progressbar.widgets import *
And install has been successfully finished.
Can you fix it? :-) Your progressbar2 is preferable than progressbar because of stdout\stderr redirect feature.
Thanks
The text was updated successfully, but these errors were encountered:
I'm using ubuntu 12.04 with system wide python 2.7.x. I'm trying to create new virtualenv with python 3:
When I'm try to install progressbar2 from PyPI, I've got error:
When I change this (in
blabla/build/progressbar2/progressbar/__init__.py
) import fromto
I've got next error:
ImportError: No module named widgets
So I fix this import from
to
And install has been successfully finished.
Can you fix it? :-) Your
progressbar2
is preferable thanprogressbar
because of stdout\stderr redirect feature.Thanks
The text was updated successfully, but these errors were encountered: