Python doesn't find MagickWand Libraries (despite correct location?)

谁都会走 提交于 2019-12-01 03:39:27

I solved my own problem after THINKING about it ;)

I had the 32bit version of Python and the 64bit version of ImageMagick... after uninstalling ImageMagick and installing the 32bit version everything is fine.

Maybe this helps someone who runs into the same problem and comes here via Google ^^

Had a similar problem, checked that correct architecture was installed matching python 3.x and it still didnt work. I was able to get it to work by using a few steps and I thought I'd post it here consolidated in case anyone had similar problems.

A few sources said that Image Magick 7.x is not compatible with magick Wand so make sure you're using 6.x. Additionally, "static" suffix versions do not work. The one that finally worked for me was "ImageMagick-6.9.8-10-Q8-x64-dll.exe"

Just a note, this works the other way as well (in my case),I got the same error with 64 bit python and 32 bit Imagemagick. The python architecture (32 or 64 bit) appears to have to match ImageMagick's. Note however that ghostscript can be 32 bit and still work.

I faced the similar issue however installing ImageMagick-6.9.x-x-Q16-x64-dll.exe di the trick... so it is quite evident that ImageMagick-6.9.10-11-Q16-x64-static.exe does not seem to be wroking..... Architecture for Python & Installer was 64 bit only.....

Uninstall ImageMagick-6.9.10-11-Q16-x64-static.exe then install ImageMagick-6.9.x-x-Q16-x64-dll.exe

What I do to work:

  • OS: Windows server 2012
  • python: 3.7 (32bit)
  • install imageMagick: ImageMagick-7.0.8-49-Q16-x86-dll (32bit)
  • install ghostscript: gs927w32 (32bit)

Add environment path:

  • C:\Program Files (x86)\gs\gs9.27\bin

References:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!