Python 官方文档:入门教程 => 点击学习
1、 安装python开发库:yum -y install python-devel 2、安装Python setuptools 3、编译安装netsnmp tar xvf net-snmp-5.4.4.tar.gz
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]: |
模块安装正常~
--结束END--
本文标题: Python netsnmp 模块
本文链接: https://lsjlt.com/news/190465.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0