Module Assign NameStore Str FunctionDef arguments args defaults vararg kwarg body Raise Call NameLoad BinOpMod NameLoad Str decorator_list FunctionDef arguments args defaults vararg kwarg body Raise Call NameLoad BinOpMod NameLoad Str decorator_list Assign NameStore ListLoad Str Str TryExcept body TryExcept body ImportFrom alias alias handlers ExceptHandler body TryExcept body ImportFrom alias alias handlers ExceptHandler body ImportFrom alias alias handlers ExceptHandler body Import alias Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AugAssignMod NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad
N/A N/A _error_message 
mahotas.%%s depends on one of (in order of preference):

1. imread
2. freeimage
3. pillow (PIL)

None of which could be found!

Everything else will work, though, so this error is only triggered when you
attempt to use these optional functions.

To install imread:

On **Ubuntu**, run the following commands::

    sudo apt-get install libpng12-dev libtiff4-dev libwebp-dev python-pip python-dev g++
    sudo pip install imread

On **Mac OS**, if using ``port``, run the following commands::

    sudo port install libpng tiff webp
    sudo pip install imread

On **Windows**, use Christoph Gohlke's packages. See:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#imread




To install FreeImage:

You need to have the freeimage installed for imread/imsave (everything else
will work, though, so this error is only triggered when you attempt to use
these optional functions). Freeimage is not a Python package, but a regular
package.

Under Linux, look for a package called `freeimage` in your distribution (it is
actually called `libfreeimage3` in debian/ubuntu, for example).

Under Windows, consider using the third-party mahotas packages at
http://www.lfd.uci.edu/~gohlke/pythonlibs/ (kindly maintained by Christoph
Gohlke), which already package freeimage.

Full error was: %s error_imread N/A N/A N/A args kwargs N/A N/A N/A ImportError N/A _error_message imread N/A error_imsave N/A N/A N/A args kwargs N/A N/A N/A ImportError N/A _error_message imsave N/A N/A __all__ N/A imread imsave N/A N/A N/A N/A imread imread imsave N/A N/A N/A N/A N/A pil imread imsave N/A N/A N/A freeimage imread imsave N/A N/A N/A N/A sys N/A N/A _ e _ N/A N/A sys exc_info N/A _error_message e N/A imread error_imread N/A imsave error_imsave