Skip to content

Instantly share code, notes, and snippets.

@birdoftheday
Created August 27, 2016 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save birdoftheday/d38cefd8c2f9ee0d4c8e11ec711ce41e to your computer and use it in GitHub Desktop.
Save birdoftheday/d38cefd8c2f9ee0d4c8e11ec711ce41e to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "fonts.py", line 100, in <module>
font = ImageFont.truetype(font_path, FONT_SIZE)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFont.py", line 244, in truetype
return FreeTypeFont(font, size, index, encoding)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFont.py", line 133, in __init__
self.font = core.getfont(font, size, index, encoding)
IOError: cannot open resource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment