pysaml2-make-metadata: 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-make-metadata - from package: python-pysaml2

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