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

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