On 2/16/2015 7:17 AM, julien levasseur wrote:
I am using Python 2.7 on Windows 8.1.
Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)]
on win32
I *strongly* suggest that you update to 2.7.9.
I installed ImageMagick from imagemagick.org
<http://www.imagemagick.org/script/binary-releases.php#windows>
Then installed PythonMagick with pip from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonmagick
When I have used that site (most recently last July), I have directly
downloaded and unzipped files. I see that nearly all .zips have
since been replaced with .whl wheels.
When I import PythonMagick it says:
Traceback (most recent call last):
File "magic.py", line 2, in <module>
import PythonMagick
File "C:\Python27\lib\site-packages\PythonMagick\__init__.py", line
1, in <module>
from . import _PythonMagick
ImportError: DLL load failed: The application has failed to start
because its side-by-side configuration is incorrect. Please see the
application event log or use the command-line sxstrace.exe tool for more
detail.
With 64 bit python, you must use 64 bit binaries. If so, search
"side-by-side configuration is incorrect" (Google, etc).
Any clues on where do look?
Question on stackoverflow
http://stackoverflow.com/questions/28538973/pythonmagick-on-windows-dll-load-failed
I see 'cgohlke', who I presume is the C. Gohlke who made the
PythonMagick binary, has already given you his best guess.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list