python wand.image is not recognized

后端 未结 4 1270
再見小時候
再見小時候 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:19

    For those on mac and using homebrew, it seems like Wand doesn't support imagemagick 7 yet as mentioned in other answers.

    There's a new brew formula for Imagemagick 6 which can be used to install the older version in the meanwhile:

    brew install imagemagick@6
    

    Create a symlink to this newly installed dylib file as mentioned in other answer to get things working.

    ln -s /usr/local/Cellar/imagemagick@6//lib/libMagickWand-6.Q16.dylib /usr/local/lib/libMagickWand.dylib
    

    Tested on Sierra and seems to be working fine.

提交回复
热议问题