problem with io.imread

Emmanuelle Gouillart emmanuelle.gouillart at nsup.org
Wed Apr 29 12:26:54 EDT 2015


Hi Julien,

how did you install scikit-image? Are you using a scientific Python
distribution such as Anaconda or Canopy? Did you try re-installing
scikit-image after installing pillow? 

Which version of scikit-image did you install?

Emma

On Wed, Apr 29, 2015 at 06:21:00PM +0200, Julien Derr wrote:
> Hi everyone,
> I have a very basic problem, but I have no idea how to solve it !
> I installed scikitimage on a new computer, and I cannot manage to load an image
> with the io module

> from skimage import io,  works fine :

> Variable   Type      Data/Info
> ------------------------------
> filename   str       ./small.jpg
> io         module    <module 'skimage.io' from<...>skimage/io/__init__.pyc'>

> but when I want to load my image: I get the error

> In [5]: camera = io.imread(filename)

> ValueError: Could not load "./small.jpg"
> Please see documentation at: http://pillow.readthedocs.org/en/latest/
> installation.html#external-libraries


> I went on the website where they ask to unistall PIL before installing pillow,
> this is what I did, and still I get the error ...

> any ideas ?


> thanks a lot!

> Julien



More information about the scikit-image mailing list