Code: Select all
Traceback (most recent call last):
File "C:\Program Files\Python 3.5\lib\site-packages\wand\api.py", line 150, in <module>
libraries = load_library()
File "C:\Program Files\Python 3.5\lib\site-packages\wand\api.py", line 107, in load_library
raise IOError('cannot find library; tried paths: ' + repr(tried_paths))
OSError: cannot find library; tried paths: ['C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_HDRI.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-6.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-6HDRI.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-Q16.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-Q16HDRI.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-Q8.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-Q8HDRI.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-6.Q16.dll', 'C:\\Program Files\\ImageMagick-6.9.2-Q16-HDRI\\CORE_RL_wand_-6.Q16HDRI.dll']
I did a quick test, and indeed simply trying to load that DLL fails:
Code: Select all
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> ctypes.cdll.CDLL(r"C:\Program Files\ImageMagick-6.9.2-Q16-HDRI\CORE_RL_magick_.dll")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python 3.5\lib\ctypes\__init__.py", line 417, in __getattr__
dll = self._dlltype(name)
File "C:\Program Files\Python 3.5\lib\ctypes\__init__.py", line 347, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
What's going on here? Python is definitely loading other DLLs fine, is there something special to be done for the ImageMagick DLLs?
--
Roeland