安装net-snmp-python

安装net-snmp-python
下载 net-snmp
。/configure
make
make install
  cd ./python
python setup.py build
python setup.py test
这里会提示错误
ln -s /usr/local/lib/libnetsnmp.so.30 /usr/lib/libnetsnmp.so.30
python setup.py install
1.error: command 'gcc' failed with exit status 1`

    若出现上述错误,安装 python-devel libevent-devel 即可。

你可能感兴趣的:(安装,net,anmp)