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

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