File: README.Debian

package info (click to toggle)
python-pysnmp2 2.0.9-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 476 kB
  • ctags: 471
  • sloc: python: 2,091; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
---- API Versions ----
If more than one pysnmp version is installed, it is possible to choose
a version by setting the PYSNMP_API_VERSION environment variable.

You need to set the environment variable before importing pysnmp.
If you need pysnmp2, use this code:

 import os 
 os.environ['PYSNMP_API_VERSION'] = 'v2'
 import pysnmp

If you need another version, replace v2 with the correct one.