主页 M

python3报错No module named wand.image

2023-05-19 网页编程网 网页编程网

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

阅读原文
阅读 1048
123 显示电脑版