libsmi2pysnmp: 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/libsmi2pysnmp - from package: pysnmp

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

On Debian possible default full paths are:

/usr/bin/libsmi2pysnmp - from package: python-pysnmp4

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