io.plugins freeimage installation issue?

Christoph Gohlke cjgohlke at gmail.com
Thu Jan 26 13:41:22 EST 2012


On 1/26/2012 6:10 AM, Sigmund wrote:
> First, thank you for your answer!
>
> Since I'm not in my office today I tried to do the same at my BootCamp
> Win 7 64 Partition. Here I encountered a new problem.
> If I run the "test_freeimage.py" I get the error that the "OSError:
> Could not find libFreeImage in any of the following directories:"(full
> error output below). But I'm sure that it is in the right folder and
> that "python_freeimage.py" is looking in the right pace. How can that
> be?
> First idea was that "sys.platform" is returning "win64" instead of
> "win32" but it isn't. I also tried changing the case of the
> "FreeImage.dll" but didn't help. So as far I could check, everything
> is going right, but it is still not taking the FreeImage.dll.
>
> Running it on the BootCamp machine is not necessary for me but it
> might be of interest for you.
>
> I will get back to the first post tomorrow.
>
> By the way, it might be better and I think easy to change if the error
> "OSError: Could not find libFreeImage in any of the following
> directories:" is using the OS specific library name. Thats easier to
> understand for people like me that not relay know what they are doing.
>
> """
> OSError: Could not find libFreeImage in any of the following
> directories: 'C:\Python27\lib\site-packages\scikits_image-0.4.2-py2.7-
> win-amd64.egg\skimage\io\_plugins', '/lib', '/usr/lib', '/usr/local/
> lib', '/opt/local/lib', 'C:\Users\Siggi\lib'
> """
>
>
>
> Siggi
>

You are running a 64 bit version of Python. Please verify that the 
FreeImage.dll is also 64 bit. You may want to try 
scikits-image-0.4.2.win-amd64-py2.7.exe from 
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits-image>, which 
includes a 64 bit FreeImage.dll.

Christoph





More information about the scikit-image mailing list