【Python】pip install PIL 报错

问题现象:
安装PIL库:pip install PIL
报错:
ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)
ERROR: No matching distribution found for PIL

问题原因:
在python3.7中,PIL库已经更名为:pillow

解决方法:
pip install pillow

猜你喜欢

转载自www.cnblogs.com/TD1900/p/12935577.html