发布时间:2019-09-17 07:45:25编辑:auto阅读(2402)
1、 安装python开发库:yum -y install python-devel
2、安装python setuptools
3、编译安装netsnmp
|
tar xvf net-snmp-5.4.4.tar.gz |
4、安装netsnmp python库
|
cd net-snmp-5.4.4/python |
5、测试
|
[root@localhost python]# ipt -bash: ipt: command not found [root@localhost python]# ipython Python 2.7.3 (default, Jun 24 2012, 22:30:41) Type "copyright", "credits" or "license" for more information. IPython 0.10.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. In [1]: import netsnmp In [2]: |
模块安装正常~
上一篇: Python运行环境与异常处理
下一篇: Flex 3 advancedDataG
51602
51203
41695
38457
32946
29934
28632
23598
23530
21877
2042°
2750°
2296°
2231°
2710°
2253°
3002°
4947°
4801°
3416°