You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Netbox Worker image crashes on start with message : ModuleNotFoundError: No module named 'drf_yasg'
...
Expected Behavior
Netbox Worker image should start without error
...
Debug Information
The output of docker-compose logs netbox:
# docker logs 2c6f1f4747d4
Traceback (most recent call last):
File "/opt/netbox/netbox/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 357, in execute
django.setup()
File "/usr/local/lib/python3.7/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.7/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python3.7/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'drf_yasg'
The output of pip3 list in the Netbox Application image :
Current Behavior
Netbox Worker image crashes on start with message :
ModuleNotFoundError: No module named 'drf_yasg'
...
Expected Behavior
Netbox Worker image should start without error
...
Debug Information
The output of
docker-compose logs netbox
:The output of
pip3 list
in the Netbox Application image :The text was updated successfully, but these errors were encountered: