脚本宝典收集整理的这篇文章主要介绍了安装 python PIL,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
PIL是Python平台事实上的图像处理标准库,支持多种格式,并提供强大的图形与图像处理功能。
PIL
模块全称为 Python Imaging Library
,是python中一个免费的图像处理模块。
PIL(Python Imaging Library)是Python中一个强大的图像处理库,但目前其只支持到Python2.7
pillow是PIL的一个分支,虽是分支但是其与PIL同样也具有很强的图像处理库。
安装PIL
1.确认你的版本
2.如果是Python 2.7 直接 pip install PIL
3. 如果是Python 3.7 用 pip install pillow
4.打开pycharm导入模块尝试是否标红
pillow官网:
https://python-pillow.org/
The fork author’s goal is to foster and support active development of PIL through:
Continuous integration testing via GitHub Actions, AppVeyor and Travis CI
Publicized development activity on GitHub
Regular releases to the Python Package Index
Like PIL, Pillow is licensed under the open source HPND License
PIL is not setuptools compatible. Please see this Image-SIG post for a more detailed explanation. Also, PIL’s current bi-yearly (or greater) release schedule is too infrequent to accommodate the large number and frequency of issues reported.
Note
Prior to Pillow 2.0.0, very few image code changes were made. Pillow 2.0.0 added Python 3 support and includes many bug fixes from many contributors.
As more time passes since the last PIL release (1.1.7 in 2009), the likelihood of a new PIL release decreases. However, we’ve yet to hear an official “PIL is dead” announcement.
REF
https://www.jianshu.com/p/e8d058767dfa
https://www.cnblogs.com/chimeiwangliang/p/7127542.html
https://blog.csdn.net/bryant_meng/article/details/81299874
https://blog.csdn.net/bryant_meng/article/details/86185490
以上是脚本宝典为你收集整理的安装 python PIL全部内容,希望文章能够帮你解决安装 python PIL所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。