1.报错背景

Ubuntu系统安装了Python2.7和 3.4,报如下错误:

Traceback (most recent call): 

File "PTI.PY", line 2, in <module>

from wand.image import Image

ImportError: No module named wand.image

2.解决方案

$apt-get install libmagickwand-dev

$pip install Wand