Openpiv-python: ImportError: No module named progressbar

Created on 31 Jan 2014  路  5Comments  路  Source: OpenPIV/openpiv-python

Hi,

I donwloaded this sample: http://www.openpiv.net/openpiv-python/_downloads/tutorial-part13.zip

And I got this error:

 python2 tutorial-part1.py                                                                                                                        13:47
Traceback (most recent call last):
  File "tutorial-part1.py", line 1, in <module>
    import openpiv.tools
  File "/usr/lib/python2.7/site-packages/openpiv/__init__.py", line 21, in <module>
    import openpiv.process
  File "process.pyx", line 11, in init openpiv.process (openpiv/src/process.c:25074)
ImportError: No module named progressbar

Most helpful comment

@sciunto - could you please try
conda install progressbar2

All 5 comments

This means that you don't have the module 'progressbar' installed.
You can e.g. install it by running the following command in your shell:
pip install progressbar

Macbook-Pro-86:how_to_convert_text_to_images user$ pip install progressbar
Collecting progressbar
Using cached https://files.pythonhosted.org/packages/0f/e1/f30b72ecabba259c7c38dd0eb944a173effced3fd7de2c9c2902bd6f649a/progressbar-2.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/xp/j2xy0_p12td09j2bl64bxff80000gn/T/pip-install-fuh4uq2i/progressbar/setup.py", line 5, in
import progressbar
File "/private/var/folders/xp/j2xy0_p12td09j2bl64bxff80000gn/T/pip-install-fuh4uq2i/progressbar/progressbar/__init__.py", line 59, in
from progressbar.widgets import *
File "/private/var/folders/xp/j2xy0_p12td09j2bl64bxff80000gn/T/pip-install-fuh4uq2i/progressbar/progressbar/widgets.py", line 121, in
class FileTransferSpeed(Widget):
File "/Users/user/anaconda/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 /private/var/folders/xp/j2xy0_p12td09j2bl64bxff80000gn/T/pip-install-fuh4uq2i/progressbar/

@sciunto - could you please try
conda install progressbar2

It worked! Thank you

we removed progressbar dependence

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lajash picture lajash  路  25Comments

ajasja picture ajasja  路  17Comments

MetaDev picture MetaDev  路  18Comments

eyaler picture eyaler  路  12Comments

dansteingart picture dansteingart  路  31Comments