Tal*_*man 4 python python-imaging-library
尝试导入时 -from PIL import Image出现此错误:
ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)
ERROR: No matching distribution found for PIL
Run Code Online (Sandbox Code Playgroud)
解决方案:
pip install Pillow
Run Code Online (Sandbox Code Playgroud)
之后确保它有效:
from PIL import Image
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4094 次 |
| 最近记录: |