Mac中的ImageChops

问题描述 投票:0回答:1

我试图在我的Mac(OS Sierra)上安装ImageChops,我有python 3.6。每当我做pip3 install ImageChops它给我一个消息:

找不到满足要求的版本ImageChops(来自版本:)没有为ImageChops找到匹配的分发。

我不知道如何继续,我需要ImageChops在图像中工作。

python macos python-3.x image-processing
1个回答
0
投票

ImageChops是Pillow库中的一个模块。使用Pillow而不是PIL,因为PIL不再维护。而不是pip3 install ImageChops它应该是pip3 install pillow。要使用ImageChops模块,

from PIL import ImageChops
© www.soinside.com 2019 - 2024. All rights reserved.