可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to make an SNMP agent following this tutorial: http://www.nealc.com/blog/blog/2013/02/23/writing-an-snmp-agent-with-a-custom-mib-using-pysnmp/ I am using the exact code in the tutorial, but when I run the code it ends in this: DBG: [19:13:54.964]: file SNMPv2-SMI.pyc mtime 1379957443 DBG: [19:13:54.964]: file SNMPv2-SMI.py mtime 1402947591 DBG: [19:13:54.965]: loadModules: evaluating /usr/local/lib/python2.7/dist-packages/pysnmp/smi/mibs/SNMPv2-SMI.py Traceback (most recent call last): File "snmpAgentTest.py", line 163, in