root@prov:/home/operador# pip install puresnmp
Collecting puresnmp
Downloading puresnmp-2.0.0.post1-py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 603 kB/s
Collecting x690<2.0,>=1.0
Downloading x690-1.0.0.post1-py3-none-any.whl (29 kB)
Collecting t61codec<2.0,>=1.0.1
Downloading t61codec-1.0.1-py2.py3-none-any.whl (6.0 kB)
Installing collected packages: t61codec, x690, puresnmp
Successfully installed puresnmp-2.0.0.post1 t61codec-1.0.1 x690-1.0.0.post1
root@prov:/home/operador#
root@prov:/home/operador#
root@prov:/home/operador# python3
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
from puresnmp import get
Traceback (most recent call last):
File "", line 1, in ImportError: cannot import name 'get' from 'puresnmp' (/usr/local/lib/python3.8/dist-packages/puresnmp/init.py)
quit()
Hi, can anyone help me with this please?
root@prov:/home/operador# pip install puresnmp
Collecting puresnmp Downloading puresnmp-2.0.0.post1-py3-none-any.whl (61 kB) |████████████████████████████████| 61 kB 603 kB/s Collecting x690<2.0,>=1.0 Downloading x690-1.0.0.post1-py3-none-any.whl (29 kB) Collecting t61codec<2.0,>=1.0.1 Downloading t61codec-1.0.1-py2.py3-none-any.whl (6.0 kB) Installing collected packages: t61codec, x690, puresnmp Successfully installed puresnmp-2.0.0.post1 t61codec-1.0.1 x690-1.0.0.post1 root@prov:/home/operador# root@prov:/home/operador# root@prov:/home/operador# python3 Python 3.8.10 (default, May 26 2023, 14:05:08) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.