【发布时间】:2018-01-31 16:58:27
【问题描述】:
我在Wand documentation 之后安装了 ImageMagick 6.9.9-34-Q8-x64,检查了“安装开发者头文件和库”,将MAGICK_HOME 设置到正确的位置,但是每次我导入任何东西时,Wand 都会抱怨它可以找不到 ImageMagick 共享库:
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
http://docs.wand-py.org/en/latest/guide/install.html#install-imagemagick-on-windows
有趣的是,当我检查 Wand 尝试过的路径时(tried_path 中的 full traceback),其中一些确实存在,但 Wand 仍然无法使用它们。
我在这里错过了什么?
【问题讨论】:
-
python 运行 x64 吗?
-
@emcconville 哦,对了,我没想到,它实际上是 32 位的。安装了 32 位 ImageMagick 并且可以正常工作。非常感谢!
-
@emcconville 您能否发表您的评论作为答案,以便我将其标记为已接受?
标签: python windows imagemagick wand