bits.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/lepl/bin/bits.py - from package: python3-lepl
/usr/lib/python3/dist-packages/lepl/bin/_test/bits.py - from package: python3-lepl
/usr/lib/python2.7/dist-packages/lepl/bin/bits.py - from package: python-lepl
/usr/lib/python2.7/dist-packages/lepl/bin/_test/bits.py - from package: python-lepl
/usr/share/pyshared/lepl/bin/bits.py - from package: python-lepl
/usr/share/pyshared/lepl/bin/_test/bits.py - from package: python-lepl

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