Hi I am new to Python and am following the Python Image Tutorial .
The following steps are performed without errors after installing the packages described in the tutorial
import numpy
import scipy
import pylab
import pymorph
import mahotas
from scipy import ndimage
However, when I try to read the image
image = mahotas.imread('picture_file.jpg')
I get
image = mahotas.imread('image_file.jpg') Traceback ( ): ", 1, " /usr/local/lib/python 2.6/dist-packages/mahotas-0.6.4-py2.6-linux-i686.egg/mahotas/ init.py", 68, imread raise importError ('mahotas.imread freeimage. . :% s'% e) ImportError: mahotas.imread freeimage. . : mahotas.freeimage: libFreeImage : '/usr/local/lib/python2.6/dist-packages/mahotas-0.6.4-py2.6-linux-i686.egg/mahotas', '/lib', '/usr/lib', '/usr/local/lib ','/opt/local/lib '
FreeImagePy , . Python sys, .
EDIT: , , pymorph mahotas
linux box, '* sudo apt-get install package_name *', pymorph mahotas 'sudo python setup.py install'.