首页 > 编程语言 > 详细

[解决]OS X 下 Python 导入 PIL 中的 ImageGrab 错误

时间:2016-03-11 00:55:49      阅读:369      评论:0      收藏:0      [点我收藏+]

本来官方的说法是:The current version works on Windows only.

而且 PIL 已经好多年没更新了

怎么办?

当然是用 Pillow。已经在 3.0.0 版本支持 Windows 和 OS X。

The current version works on OS X and Windows only. OS X support was added in 3.0.0.

pip install Pillow  或者 pip install --upgrade Pillow 就可以了

[解决]OS X 下 Python 导入 PIL 中的 ImageGrab 错误

原文:http://www.cnblogs.com/yaoshi/p/5264063.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!