1、【win64】
pip install pytesseract
pip install pli 提示:
Could not find a version that satisfies the requirement PIL
故:
pip install wheel
pip install Pillow-7.2.0-cp37-cp37m-win_amd64.whl
链接:https://pan.baidu.com/s/1PyNhC1TTon2mnNqDFQtDQA
提取码:jsmy
调用需要:
from PIL import Image
im =Image.open('xx.png')
参考:
https://blog.youkuaiyun.com/flyer_tang/article/details/80364816
本文解决在Windows 64位系统中使用pip安装PIL遇到的问题,提供了一个有效的替代方案,即先安装wheel,然后通过指定链接下载并安装特定版本的Pillow,最后演示了如何使用PIL库打开图片。
9880

被折叠的 条评论
为什么被折叠?



