dmlite-mysql-dirspaces.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 CentOS possible default full paths are:

/usr/bin/dmlite-mysql-dirspaces.py - from package: dmlite-shell

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