etingof / snmpsim

SNMP Simulator

Home Page:http://snmplabs.com/snmpsim/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to import utils

deeptishm opened this issue · comments

tessco@tesscoserver1:/dev/snmpsim/snmpsim/commands$ pip3 install utils
Requirement already satisfied: utils in /home/tessco/.local/lib/python3.8/site-packages (1.0.1)
tessco@tesscoserver1:
/dev/snmpsim/snmpsim/commands$ python3 mib2rec.py --mib-source=/home/tessco/dev/tmp/snmp_mibs/tessco/mibs/standard/ietf --mib-module=IF-MIB --destination-record-type=snmprec --output-file=.snmprec --start-object=IF-MIB::interfaces
Traceback (most recent call last):
File "mib2rec.py", line 26, in
from snmpsim import utils
ImportError: cannot import name 'utils' from 'snmpsim' (/home/tessco/.local/lib/python3.8/site-packages/snmpsim/init.py)
tessco@tesscoserver1:~/dev/snmpsim/snmpsim/commands$