可能重复:
Drawing Hebrew text to and image using Image module (python)
这是代码:
import Image
import ImageDraw
import ImageFont
import _imaging
a=u'1אריאל' #u'..' converts to unicode
font = ImageFont.truetype('c:/test/Miriam.ttf',24) #standard hebrew font, this line throws the error
im=Image.new('RGB',(200,200),(100,100,100))
d=ImageDraw.Draw(im)
d.text((0,0),a)
im.show()
这是错误:ImportError:未安装_imagingft C模块
我该怎么办?
感谢