MJL85 / natlas

natlas - Network Discovery and Auto-Diagramming
GNU General Public License v2.0
524 stars 114 forks source link

ImportError: No module named compat.octets #52

Open jessica19921 opened 5 years ago

jessica19921 commented 5 years ago

Hello All,

I am new to Github and Natlas, I have installed Natlas on my linux machine and when I try the below command it does not work for some reason.

[jessica@lab natlas-master]$ ./natlas-cli.py diagram -r 192.168.17.12 -o .\network.svg Traceback (most recent call last): File "./natlas-cli.py", line 35, in import natlas File "/home/jessica/ntls/natlas-master/natlas/init.py", line 2, in from .natlas import natlas File "/home/jessica/ntls/natlas-master/natlas/natlas.py", line 35, in from .network import natlas_network File "/home/jessica/ntls/natlas-master/natlas/network.py", line 29, in from .util import File "/home/jessica/ntls/natlas-master/natlas/util.py", line 34, in from .snmp import File "/home/jessica/ntls/natlas-master/natlas/snmp.py", line 27, in from pysnmp.entity.rfc3413.oneliner import cmdgen File "/usr/lib/python2.6/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 1, in from pysnmp.entity import engine, config File "/usr/lib/python2.6/site-packages/pysnmp/entity/engine.py", line 2, in from pysnmp.proto.rfc3412 import MsgAndPduDispatcher File "/usr/lib/python2.6/site-packages/pysnmp/proto/rfc3412.py", line 3, in from pyasn1.compat.octets import null ImportError: No module named compat.octets

Regards Jessica