mainmenu.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/mainmenu.py - from package: oneisenough

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