Hello
After install the last freeImagePy package from the website (http://freeimagepy.sourceforge.net/), and I tried to run a test, I´m getting the following error:
>>> import FreeImagePy
Exception on load dll freeimage :[Error 193] %1 is not a valid Win32 application
C:\Python26\lib\site-packages\FreeImagePy\library.py:90: FunctionNotFound: Error on bind FreeImage_Initialise.
warn("Error on bind %s." % function[0], CO.FunctionNotFound)
.
.
.
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Python26\lib\site-packages\spyderlib\interpreter.py", line 47, in _import
result = self.builtin_import(name, globals, locals, fromlist, level)
File "C:\Python26\lib\site-packages\FreeImagePy\__init__.py", line 35, in <module>
_FI = freeimage()
File "C:\Python26\lib\site-packages\FreeImagePy\FreeImagePy.py", line 84, in __init__
self.__lib = library.internlLibrary(libraryName)
File "C:\Python26\lib\site-packages\FreeImagePy\library.py", line 93, in __init__
self.lib.FreeImage_SetOutputMessage(self.funct_pri ntErrors)
AttributeError: 'internlLibrary' object has no attribute 'lib'
>>> import FreeImagePy
Exception on load dll freeimage :[Error 193] %1 is not a valid Win32 application
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Python26\lib\site-packages\spyderlib\interpreter.py", line 47, in _import
result = self.builtin_import(name, globals, locals, fromlist, level)
File "C:\Python26\lib\site-packages\FreeImagePy\__init__.py", line 38, in <module>
except constants.FreeImagePy_LibraryNotFound:
NameError: name 'constants' is not defined
What could be the error? Any idea in how to fixed?
Best regards
german