Pycharm packages needed to write a custion script #19062
omidkhazdooz
started this conversation in
General
Replies: 1 comment
-
Hi, NetBox is not a standard Python package that you can install via To work with NetBox's custom scripting, you'll need to:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
I am fairly new to custom scripting and I can't figure out what modules are needed for the below libraries:
from django.utils.text import slugify
from dcim.choices import DeviceStatusChoices, SiteStatusChoices
from dcim.models import Device, DeviceRole, DeviceType, Manufacturer, Site
from extras.scripts import *
I don't see dcim being available to download and install in pycharm
also installed extras but still getting the following error
ModuleNotFoundError: No module named 'extras.scripts'
I aslo have pynetbox installed with no luck.
only thing that seems to work is django
any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions