Hello
After install the last freeImagePy package from the website (http://freeimagepy.sou rceforge.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\FreeIm agePy\library.p y:90: FunctionNotFoun d: Error on bind FreeImage_Initi alise.
warn("Error on bind %s." % function[0], CO.FunctionNotF ound)
.
.
.
Traceback (most recent call last):
File "<console>" , line 1, in <module>
File "C:\Python26\li b\site-packages\spyder lib\interpreter .py", line 47, in _import
result = self.builtin_im port(name, globals, locals, fromlist, level)
File "C:\Python26\li b\site-packages\FreeIm agePy\__init__. py", line 35, in <module>
_FI = freeimage()
File "C:\Python26\li b\site-packages\FreeIm agePy\FreeImage Py.py", line 84, in __init__
self.__lib = library.internl Library(library Name)
File "C:\Python26\li b\site-packages\FreeIm agePy\library.p y", line 93, in __init__
self.lib.FreeIm age_SetOutputMe ssage(self.func t_printErrors)
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\li b\site-packages\spyder lib\interpreter .py", line 47, in _import
result = self.builtin_im port(name, globals, locals, fromlist, level)
File "C:\Python26\li b\site-packages\FreeIm agePy\__init__. py", line 38, in <module>
except constants.FreeI magePy_LibraryN otFound:
NameError: name 'constants' is not defined
What could be the error? Any idea in how to fixed?
Best regards
german
After install the last freeImagePy package from the website (http://freeimagepy.sou rceforge.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\FreeIm agePy\library.p y:90: FunctionNotFoun d: Error on bind FreeImage_Initi alise.
warn("Error on bind %s." % function[0], CO.FunctionNotF ound)
.
.
.
Traceback (most recent call last):
File "<console>" , line 1, in <module>
File "C:\Python26\li b\site-packages\spyder lib\interpreter .py", line 47, in _import
result = self.builtin_im port(name, globals, locals, fromlist, level)
File "C:\Python26\li b\site-packages\FreeIm agePy\__init__. py", line 35, in <module>
_FI = freeimage()
File "C:\Python26\li b\site-packages\FreeIm agePy\FreeImage Py.py", line 84, in __init__
self.__lib = library.internl Library(library Name)
File "C:\Python26\li b\site-packages\FreeIm agePy\library.p y", line 93, in __init__
self.lib.FreeIm age_SetOutputMe ssage(self.func t_printErrors)
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\li b\site-packages\spyder lib\interpreter .py", line 47, in _import
result = self.builtin_im port(name, globals, locals, fromlist, level)
File "C:\Python26\li b\site-packages\FreeIm agePy\__init__. py", line 38, in <module>
except constants.FreeI magePy_LibraryN otFound:
NameError: name 'constants' is not defined
What could be the error? Any idea in how to fixed?
Best regards
german