Download & InstallΒΆ
The pyasn1 library is a pure-Python package with no external dependencies. It requires Python 3.10 or later.
This project is a maintained fork of the original pyasn1, published to
PyPI as pysnmp-pyasn1. The importable package name remains pyasn1,
so existing code needs no changes.
The best way to obtain it is by running pip:
$ python -m venv venv
$ source venv/bin/activate
$ pip install pysnmp-pyasn1
You may also want to use pyasn1-modules:
$ pip install pysnmp-pyasn1-modules
Alternatively, you can download the latest release from GitHub or PyPI.