locals.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/share/games/oneisenough/bin/locals.py - from package: oneisenough

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