I use pysnmp in "Python Live " device . Some code as follows:
from pysnmp.entity.rfc3413.oneliner import cmdgen
errorIndication,errorStatus,errorIndex,varBinds = cmdgen.CommandGenerator().getCmd(
cmdgen.CommunityData('my-angent','private',0),
cmdgen.UdpTransportTarget(("192.168.0.102",161)),
(1,3,6,1,4,1,2680,1,1,6,1,1,2,1)
)
ERROR :
SimError: MIB file "SNMPv2-MIB.py[co]"not found in search path
But it runs well in python 2.7 .
help! I don't konw why.