pilfile: 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/pilfile - from package: python3-pil

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