Re: IOError: cannot open resource

2019-12-07 Thread Python
mageFont.py", line 280, in truetype   return FreeTypeFont(font, size, index, encoding, layout_engine)     File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 145, in __init__   layout_engine=layout_engine) IOError: cannot open resource PILLOW version forked from

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:58, Michael Torrie wrote: On 12/7/19 9:48 AM, RobH wrote: On 07/12/2019 16:00, Dan Sommers wrote: On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fon

Re: IOError: cannot open resource

2019-12-07 Thread Michael Torrie
On 12/7/19 9:48 AM, RobH wrote: > On 07/12/2019 16:00, Dan Sommers wrote: >> On 12/7/19 9:43 AM, RobH wrote: >>> When I run a python project with an oled display on a rasperry pi zero, >>> it calls for the Minecraftia.ttf font. I have the said file in >>> home/pi/.fonts/ >> >> Do you mean /home/pi/

Re: IOError: cannot open resource

2019-12-07 Thread RobH
On 07/12/2019 16:00, Dan Sommers wrote: On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ Do you mean /home/pi/.fonts (with a leading slash, an absolute path rat

Re: IOError: cannot open resource

2019-12-07 Thread RobH
uot;, line 280, in truetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 145, in __init__ layout_engine=layout_engine) IOError: cannot open resource PILLOW version forked from PIL 1.1.7 I

Re: IOError: cannot open resource

2019-12-07 Thread Dan Sommers
On 12/7/19 9:43 AM, RobH wrote: When I run a python project with an oled display on a rasperry pi zero, it calls for the Minecraftia.ttf font. I have the said file in home/pi/.fonts/ Do you mean /home/pi/.fonts (with a leading slash, an absolute path rather than a relative one)? Dan -- https:/

Re: IOError: cannot open resource

2019-12-07 Thread Peter Otten
PIL/ImageFont.py", line 280, > in truetype > return FreeTypeFont(font, size, index, encoding, layout_engine) >File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 145, > in __init__ > layout_engine=layout_engine) > IOError: cannot open resource

IOError: cannot open resource

2019-12-07 Thread RobH
, index, encoding, layout_engine) File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 145, in __init__ layout_engine=layout_engine) IOError: cannot open resource PILLOW version forked from PIL 1.1.7 I have no idea to what to do about this. Thanks -- https://mail.python.org/mailman/listinfo/python-list