hugin_stitch_project: 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/hugin_stitch_project - from package: hugin

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