python wand.image is not recognized

后端 未结 4 1272
再見小時候
再見小時候 2020-12-31 08:55

I installed Imagemagic (both 32 and 64 bits versions were tried) and then used pip to install wand, I also set the Magick_Home env. variable to imagemagic address but when I

4条回答
  •  迷失自我
    2020-12-31 09:31

    I have found a solution. The problem is:

    Wand try to find a file like that: libMagickWand.dylib in /usr/local/lib/

    But if you install ImageMagick with Homebrew, the file generated is libMagickWand-6.Q16.dylib And Wand never find it.

    So, you have 2 solutions:

    1. Create a symbol link from libMagickWand-7.Q16.dylib to libMagickWand.dylib
    2. You can install by MacPorts or from binaries testing that they create the file.

    I have installed the ImageMagick for The Capitan from: http://cactuslab.com/assets/installers/ImageMagick-6.9.1-0.pkg.zip and I declare:

    export MAGICK_HOME=/opt/ImageMagick

提交回复
热议问题