The most popular seems to be SNMP library for Python.

Alas, it gives errors when trying to install on Windows, so I am looking for an alternative.

Must support SNMP 3 (but we don't need the crypto (I know, why not just use v2? Because ... customer)).

Must have server functionality, agent a bonus.

Must be able to install and run on Windows (with no admin rights) and Linux.

  • 1
    Have you tried pip install -U pysnmp - it installs absolutely fine on my Windows 10-64 under python 2.7.11 (32 bit) - otherwise if you are still having problems why not raise a bug report on the tracker, sourceforge.net/p/pysnmp/bugs, detailing what goes wrong and what your set-up is the developer(s) are very responsive. Apr 1, 2016 at 6:31
  • 1
    Have you pointed out to them that that is itself insecure as XP is no longer receiving security updates. You might wish to update your question to include that you need it to run on XP rather than just Windows or windows back to XP. Apr 1, 2016 at 14:19
  • 1
    Then I would suggest implementing for Linux & Windows 7+ and telling IT/management that they will have to wait/pay for legacy, unsupported, system. Apr 1, 2016 at 16:04
  • 1
    that was pip install -U pysnmp with a capital U which has been available for pip for a long time, alternative is pip install --upgrade pysnmp Apr 11, 2016 at 8:40
  • 1
    You can download the egg from pypi.python.org/pypi/pysnmp/4.3.0 and then install with pip Apr 11, 2016 at 8:47

1 Answer 1


Easiest is, assuming no firewall problems, use:

pip install -U pysnmp

If you are behind a firewall that will not let you do that then can go to the pysnmp pypi page and download the egg file for pysnmp to match your python version, e.g. if you are using python 2.7.x you can download pysnmp-4.3.0-py2.7.egg 4.3.0 being the current version at the time of writing. This can then be installed with easy_install e.g.:

easy_install pysnmp-4.3.0-py2.7.egg

You may find that there are some unmet dependencies that you need to follow a similar process for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.