lopes / netbox-scanner

A scanner util for NetBox
MIT License
159 stars 40 forks source link

KeyError #21

Closed dudusf04 closed 3 years ago

dudusf04 commented 3 years ago

Hello Lopes,

I installed the netbox-scanner, but when I run the script, it gives an error.

Maybe because I didn't set it up right.

The error is as follows:

2020-09-28_11h34_52

Please, can anyone help me.

cubiclemonkey commented 3 years ago

I'm getting a similar error. I noticed in the ../tests folder that _runtests.sh might be calling a different python version:

image

I changed it to python3 and got a different set of errors entirely:

image

lopes commented 3 years ago

@dudusf04 The README is clear: supported versions are Python v3.7+. You're using v3.6.

@cubiclemonkey In my development environment, I use Python 3 as default. Guess your python command is pointing to Python 2 or some older version (< 3.7). Check it out.