最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】下载和安装Python的第三方图像处理的库:PIL(Python Imaging Library)

Python crifan 8296浏览 0评论

背景

之前就安装过PIL的。

但是后来重新安装了Python,导致PIL丢失。

现在在折腾:

【记录】用PyInstaller把Python代码打包成单个独立的exe可执行文件

的过程中,需要再次用到PIL,所以,再次去下载和安装PIL。

下载PIL

找到官网:

http://www.pythonware.com/products/pil/

下载和我的环境:

  • win7 x64
  • Python 2.7

所匹配的:

Python Imaging Library 1.1.7 for Python 2.7

注:此处没有x64版本可下载,只能下载32位的了。

 

得到819KB的PIL-1.1.7.win32-py2.7.exe

 

安装PIL

1. 双击运行去安装:

pil install ui

2.结果出错:

python version 2.7 required which was not found in the registry

折腾过程参见:

【已解决】Python中通过PIL-1.1.7.win32-py2.7.exe安装PIL结果出错:Python version 2.7 required, which was not found in the registry

即可正常通过源码去安装。

转载请注明:在路上 » 【记录】下载和安装Python的第三方图像处理的库:PIL(Python Imaging Library)

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
89 queries in 0.168 seconds, using 22.20MB memory