problem with io.imread
Hélder Tomas
helderomar at gmail.com
Fri Jun 5 04:01:02 EDT 2015
Hello guys,
I had the same issue and it's due to PIL and the libraries needed to read
jpeg. It worked fine with png for instance.
Pillow has replaced pil, and we might as well remove pil.
Remove PIL:
*sudo pip uninstall pil*
Install the required libraries:
* sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk*
Install/upgrade pillow :
*sudo pip install pillow --upgrade*
And your data.imread should work fine now.
Hope this helps someone!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20150605/b33f19b4/attachment.html>
More information about the scikit-image
mailing list