I've installed ctypes and FreeImagePy. When I do this:
[color=blue][color=green][color=darkred]
>>> import FreeImagePy
>>> f = FreeImagePy.Ima ge()[/color][/color][/color]
I get:
find
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python\Lib\ site-packages\FreeIm agePy\FreeImage Py.py", line
1952, in _
_init__
super(Image, self).__init__( libraryName)
File "C:\Python\Lib\ site-packages\FreeIm agePy\FreeImage Py.py", line
376, in __
init__
self.__lib = self.__internlL ibrary(libraryN ame)
File "C:\Python\Lib\ site-packages\FreeIm agePy\FreeImage Py.py", line
313, in __
init__
self.lib = C.windll.find(l ibraryName)
File "ctypes\__init_ _.py", line 370, in __getattr__
dll = self._dlltype(n ame)
File "ctypes\__init_ _.py", line 296, in __init__
self._handle = _dlopen(self._n ame, mode)
WindowsError: [Errno 126] The specified module could not be found
I put a 'print self._name' in the ctypes __init__ file, just before
line 296 - it's printing out the 'find' just before the error.
So, in what specific way have I screwed up the install?
Iain
[color=blue][color=green][color=darkred]
>>> import FreeImagePy
>>> f = FreeImagePy.Ima ge()[/color][/color][/color]
I get:
find
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python\Lib\ site-packages\FreeIm agePy\FreeImage Py.py", line
1952, in _
_init__
super(Image, self).__init__( libraryName)
File "C:\Python\Lib\ site-packages\FreeIm agePy\FreeImage Py.py", line
376, in __
init__
self.__lib = self.__internlL ibrary(libraryN ame)
File "C:\Python\Lib\ site-packages\FreeIm agePy\FreeImage Py.py", line
313, in __
init__
self.lib = C.windll.find(l ibraryName)
File "ctypes\__init_ _.py", line 370, in __getattr__
dll = self._dlltype(n ame)
File "ctypes\__init_ _.py", line 296, in __init__
self._handle = _dlopen(self._n ame, mode)
WindowsError: [Errno 126] The specified module could not be found
I put a 'print self._name' in the ctypes __init__ file, just before
line 296 - it's printing out the 'find' just before the error.
So, in what specific way have I screwed up the install?
Iain
Comment