pilfont: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/pilfont - from package: python3-pil

You may install the required package with command apt-get install {package}
Error in other languages:
pilfont: bevel nie gevind nie
pilfont: comandă negăsită
pilfont: comando não encontrado
pilfont: commande introuvable
pilfont: command not found
pilfont: käsku ei ole
pilfont: không tìm thấy lệnh
pilfont: komanda nerasta
pilfont: Kommando nicht gefunden.
pilfont: kommandot finns inte
pilfont: komut yok
pilfont: nie znaleziono polecenia
pilfont: níor aimsíodh an t-ordú
pilfont: no se encontró la orden
pilfont: no s'ha trobat l'ordre
pilfont: opdracht niet gevonden
pilfont: parancs nem található
pilfont: perintah tidak ditemukan
pilfont: príkaz nenájdený
pilfont: příkaz nenalezen
pilfont: команда не найдена
pilfont: командата не е открита
pilfont: 命令找不到
pilfont: コマンドが見つかりません