vinta / haul

An Extensible Image Crawler
MIT License
157 stars 37 forks source link

ModuleNotFoundError: No module named cStringIO #18

Open mha90 opened 6 years ago

mha90 commented 6 years ago

I installed haul using pip: pip install haul

I was using the first find_images example and got the following error File "~\Python36-32\lib\site-packages\haul\utils.py", line 3, in import cStringIO ModuleNotFoundError: No module named 'cStringIO'

m-spangenberg commented 5 years ago

I just stumbled across the same issue - it seems to be changes since in Python 3 removing StringIO and cStringIO modules and replacing them with io.StringIO and io.BytesIO. @vinta - haul/utils.py needs some small changes to reflect the removal of cStringIO.