pysaml2-parse-xsd2: 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/pysaml2-parse-xsd2 - from package: python-pysaml2

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