Could not find a version that satisfies the requirement PIL

时间:2024-06-14 18:37:44

Python Imageing Library 简称 PIL

Python常用的图像处理库之一

Pillow是PIL一个fork.

C:\Users\dangzhengtao>pip install PIL
Collecting PIL
Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL

更换为:

C:\Users\dangzhengtao>pip install pillow
Collecting pillow
Downloading https://files.pythonhosted.org/packages/39/a5/4258f77ab40d71bf7d724002a0bb166a902cb4cbdff7b866b1c3d9014547/Pillow-5.2.0-cp37-cp37m-win_amd64.whl (1.6MB)
100% |████████████████████████████████| 1.6MB 1.2MB/s
Installing collected packages: pillow
Successfully installed pillow-5.2.0