Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85807

Re: PythonMagick on Windows DLL load failed

Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Windows': 0.02; 'win32': 0.03; 'importerror:': 0.07; 'etc).': 0.09; 'failed:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; 'suggest': 0.14; '2.7': 0.14; 'windows': 0.15; 'binary,': 0.16; 'clues': 0.16; 'command-line': 0.16; 'guess.': 0.16; 'presume': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:failed': 0.16; 'files.': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'import': 0.22; 'load': 0.23; 'header:User- Agent:1': 0.23; 'dll': 0.24; 'question': 0.24; 'nearly': 0.26; 'downloaded': 0.26; 'url:edu': 0.26; '2010,': 0.27; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; 'file': 0.32; '(most': 0.33; 'skip:_ 10': 0.34; 'tool': 0.35; 'skip:" 50': 0.36; 'url:org': 0.36; 'application': 0.37; 'so,': 0.37; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'more': 0.64; 'detail.': 0.68; 'jul': 0.74; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: PythonMagick on Windows DLL load failed
Date Wed, 18 Feb 2015 13:50:39 -0500
References <CAB2UtOOAG3iHK=FZPvNNKfRkHCcvzmvTdZ_O32vnVZ=SfQvSjQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-98-114-97-173.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <CAB2UtOOAG3iHK=FZPvNNKfRkHCcvzmvTdZ_O32vnVZ=SfQvSjQ@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18828.1424285459.18130.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424285459 news.xs4all.nl 2914 [2001:888:2000:d::a6]:40504
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:85807

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: PythonMagick on Windows DLL load failed Terry Reedy <tjreedy@udel.edu> - 2015-02-18 13:50 -0500

csiph-web