webassets: 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/webassets - from package: python-webassets

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/webassets - from package: python3-webassets

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