pysnmp
pysnmp copied to clipboard
Not even 1 sample script runs
I started on Windows in VSC with WSL environment. I moved to Linux Debian.
I have tried every single example script and get one error or another, like the one below, or one like it.
Exception has occurred: ModuleNotFoundError
No module named 'pysnmp.hlapi.v3arch'
File "/home/user/snmp/v1-get.py", line 19, in
ffs... all my problems are in visual studio code.. I tried something in another Ide to check my sanity.. it worked.. wth is up with vsc?
Try to run pip install pysnmp inside vscode shell. It has its own virtual env
Duplicate to #421. The folder structure has been flatten in newer releases, but the example scripts were not up-to-date.
You still need to be a good Python developer to figure out such ABCs on open source projects like this. But while I am working on #429 I might try to improve the documentation at https://www.pysnmp.com to be clearer.