Getting Mahotas on Windows to run
Hi, I am fairly new to image processing in Python, and have a bugger of a time getting Mahotas to run on my Windows machine. (Win7, 32bit, Python 2.7). In addition to installing Mahotas, I copied the "FreeImage.dll" to "C: \Python27\DLLs", the "FreeImage.h" to "C:\Python27\include", and "FreeImage.lib" to "C:\Python27\libs". My main problem seems to be related to freeimage, and I am wondering if any of you got it running under Windows? My error message: In [5]: from mahotas import freeimage ------------------------------------------------------------ Traceback (most recent call last): File "<ipython console>", line 1, in <module> File "C:\Python27\lib\site-packages\mahotas-0.7.1-py2.7-win32.egg \mahotas\__init__.py", line 77, in <module> from .freeimage import imread, imsave File "C:\Python27\lib\site-packages\mahotas-0.7.1-py2.7-win32.egg \mahotas\freeimage.py", line 148, in <module> _FI = _register_api(_FI, _API) File "C:\Python27\lib\site-packages\mahotas-0.7.1-py2.7-win32.egg \mahotas\freeimage.py", line 102, in _register_api func = getattr(lib, f) File "C:\Python27\lib\ctypes\__init__.py", line 366, in __getattr__ func = self.__getitem__(name) File "C:\Python27\lib\ctypes\__init__.py", line 371, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: function 'FreeImage_CloseMultiBitmap' not found Any hints? Thanks, Thomas
participants (1)
-
thomash