drygdryg / netbox-plugin-interface-sync

NetBox Plugin to compare and synchronize interfaces between devices and device types
56 stars 3 forks source link

Module is not installed #2

Closed cohearne77 closed 3 years ago

cohearne77 commented 3 years ago

Hi, I have tried to install the plugin on docker and native netbox install but i cannot get it to work! the instructions seem very simple but each time i am seeing:

django.core.exceptions.ImproperlyConfigured: Unable to import plugin netbox_interface_sync: Module not found. Check that the plugin module has been installed within the correct Python environment.

from within the venv i can see pip list with: netbox-interface-sync 0.1.3

am i missing something ver simple?

Enable installed plugins. Add the name of each plugin to the list.

PLUGINS = [ "netbox_interface_sync" ]

Plugins configuration settings. These settings are used by various plugins that the user may have installed.

Each key in the dictionary is the name of an installed plugin and its value is a dictionary of settings.

PLUGINS_CONFIG = { 'netbox_interface_sync': { 'exclude_virtual_interfaces': True } }

cohearne77 commented 3 years ago

fixed.

pip install dataclasses

in venv

plugin now available (any chance of adding a requirements doc?)

Thanks