Hi there
I am having issues when trying to execute code which contains the following line:
from PIL import Image, ImageDraw, ImageFont
The error message I recieve is:
Traceback (most recent call last):
File "/home/pi/Desktop/hello_world.py", line 15, in
<module>
font = ImageFont.truetype("arial.ttf",12)
File "/usr/lib/python3/dist-``packages/PIL/ImageFont.py", line 280, in truetype
return FreeTypeFont(font, size, index, encoding,
layout_engine)
File "/usr/lib/python3/dist-
packages/PIL/ImageFont.py", line 145, in __init__
layout_engine=layout_engine)
OSError: cannot open resource
I’m really not sure about how to fix this, any suggestions/help is greatly appreciated