May be worth just attempting sudo pip3 install gfxhat or sudo pip install gfxhat depending on whether you plan to use Python 3.x or 2.x.
I haven’t seen this error crop up before but a cursory glance suggests that it’s because the installer can’t find pip3, pip-3.3 or pip-3.2 on your system and fails to an empty $PIP3_BIN turning the pip3 install command into simply install - if you run just install gfxhat then the error you’re seeing is exactly what you’ll get.
To help me figure out why this is happening, what do you see if you run: lsb_release -a?
I resolved main problem.
It turned out that my pip / pip3 setup is broken (after pip/pip3 upgrades I think).
However I see another errors:
curl https://get.pimoroni.com/gfxhat | bash
Results:
Checking for packages required for GPIO control...
Unable to install RPi.GPIO for python 3!
SPI already enabled
Checking packages required by SPI interface...
Unable to install spidev for python 3!
I2C already enabled
And… at the end I have:
Some packages could not be installed, review the output for details!
But… it tools like that library works and examples were installed.
Overall: GFX HAT works but I’m not sure that everything was properly installed.