upgma_cluster.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/upgma_cluster.py - from package: qiime

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