Re: [pysnmp-users] ImportError: No module named hlapi
Brought to you by:
elie
From: Ilya E. <il...@gl...> - 2015-10-14 20:33:39
|
Hi Michael, You need pysnmp-4.3 to use hlapi API and the examples from the main pysnmp site. For 4.2.x examples, please follow this link: http://pysnmp.sourceforge.net/examples/current/index.html <http://pysnmp.sourceforge.net/examples/current/index.html> However 4.3.x is way better. -ilya > On 14 Oct 2015, at 22:26, Michael Horkan <mho...@gm...> wrote: > > Hello, > > I'm new to pysnmp, forgive me if this was covered elsewhere but doing a search on the mailing list for the above error did not produce a result. > > I'm running Python 32-bit v2.7.8 on Windows 7 Professional 64-bit. I've installed the following packages: > pyasn1-0.1.9-py2.7.egg > pysmi-0.0.6-py2.7.egg > pysnmp-4.2.5-py2.7.egg > > My goal is to write an snmpwalk-style script, so per the posted Example scripts I attempted to test in the Idle GUI, but the following import won't work: > > from pysnmp.hlapi import * > > > This import results in the error in the header. > > -- > Mike |