f2py2.7-dbg: 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/f2py2.7-dbg - from package: python-numpy-dbg

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