版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/kele_imon/article/details/87722717
- pip install PIL后显示:
Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL
- 后查资料发现在python3中pillow代替了PIL
也就是这样安装python2中的PIL模块:
pip install pillow
但是在程序中import的时候仍然、
import PIL
即可