51CTO博客开发
centos系统,使用pip安装pillow,运行时出现ImportError错误“The _imagingft C module is not installed”具体出错的那行代码是font = ImageFont.truetype('Arial.ttf', 36)解决过程如下:先确保代码中导入语句是:from PIL import ImageFont尝试先卸载p
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号