beta_diversity.py: 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/lib/qiime/bin/beta_diversity.py - from package: qiime

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