PIL Issue, OSError: cannot open resource

前端 未结 7 1793
野的像风
野的像风 2020-12-31 04:12

I\'m attempting to write a program that places text onto an image, I\'m trying to get my head round PIL and have run into the error: OSError: cannot open resource. This is m

7条回答
  •  孤城傲影
    2020-12-31 04:27

    PIL cannot find the specified font. Check that it exists, and that it is named with the exact same case. You can also try to copy it directly in the project folder.

提交回复
热议问题