lesscpy: 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 CentOS possible default full paths are:

/usr/bin/lesscpy - from package: python-lesscpy

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