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

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