Starting with Inky pHAT and RPI Zero W

I have a inkyPHAT black (SSD1608) connected to RPI Zero W and struggling to get it to work. I have tried the ‘’ example but get below error…
‘’‘FreeTypeFont’ has no attribute ‘getsize’ ? The display also stayd blank (white)

I used below script:
python3 --type “auto” --colour “black” --name “Bart and Pippa”

thanks in advance…

Google suggests that this might be because the .getsize method has changed in the most recent version of Pillow / Python Image Library?

Looks like this example needs updating, but in the meantime you could try rolling back to an older version of Pillow?:

pip install Pillow==9.5.0
1 Like

Thanks Hel, that did it.

1 Like