beat.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/python3/dist-packages/celery/bin/beat.py - from package: python3-celery
/usr/lib/python2.7/dist-packages/celery/bin/beat.py - from package: python-celery

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