pyxbgen: 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 CentOS possible default full paths are:

/usr/bin/pyxbgen - from package: PyXB

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/pyxbgen - from package: python-pyxb

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