Device-Type-Library-Import icon indicating copy to clipboard operation
Device-Type-Library-Import copied to clipboard

Error nb-dt-import.py

Open srdanielmaster opened this issue 10 months ago • 4 comments

When i tried to execute the script i get this error

File "/opt/netbox/Device-Type-Library-Import/./nb-dt-import.py", line 5, in <module> import pynetbox File "/opt/netbox/Device-Type-Library-Import/venv/lib/python3.12/site-packages/pynetbox/__init__.py", line 1, in <module> from pkg_resources import get_distribution, DistributionNotFound ModuleNotFoundError: No module named 'pkg_resources'

srdanielmaster avatar Feb 07 '25 10:02 srdanielmaster

You need to install setuptools --> "pip3 install setuptools"

https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

MaxPower654 avatar Feb 10 '25 20:02 MaxPower654

You need to install setuptools --> "pip3 install setuptools"

https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

pkg_resources was deprecated in Python3.12.

s1mplesimon avatar Feb 15 '25 19:02 s1mplesimon

Ran into the same issue, installed the tools but now receiving error 403 replies for API get requests.

sachz19 avatar Mar 04 '25 14:03 sachz19

Image

I have the same issue

tanmado avatar Mar 08 '25 13:03 tanmado