Gfx-hat contrast problems

The gfx-hat sample gives the following error when launched with ‘python’:

Traceback (most recent call last):
File “”, line 60, in
AttributeError: ‘module’ object has no attribute ‘contrast’

When launched
with ‘python3’ gives the following error:

Traceback (most recent call last):
File “”, line 21, in
font = ImageFont.truetype(fonts.Bitocra13Full, 13)
AttributeError: module ‘gfxhat.fonts’ has no attribute ‘Bitocra13Full’

Any Idea?

Same problem here, I juste bought a GFX-HAT and I installed the library on my RPi using:
curl | bash

All the examples works except the which gives me the same error as @ezio.soma .

If you look here, the contrast attribute is defined so is there is something wrong with the library installation ?

Btw I do not know where the GFX library is installed on my Pi, can anyone tell me ?

Thanks in advance.

Are we the only ones with this problem ?