drawMask_pymca: 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/drawMask_pymca - from package: pyfai

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