Traceback (most recent call last):
File “/usr/local/hue-4.11/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py”, line 259, in fetch_command
app_name = commands[subcommand]
KeyError: ‘collectstatic’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/hue-4.11/hue/build/env/bin/hue”, line 33, in
sys.exit(load_entry_point(‘desktop’, ‘console_scripts’, ‘hue’)())
File “/usr/local/hue-4.11/hue/desktop/core/src/desktop/manage_entry.py”, line 233, in entry
execute_from_command_line(sys.argv)
File “/usr/local/hue-4.11/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py”, line 446, in execute_from_command_line
utility.execute()
File “/usr/local/hue-4.11/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py”, line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/usr/local/hue-4.11/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py”, line 266, in fetch_command
settings.INSTALLED_APPS
File “/usr/local/hue-4.11/hue/build/env/lib/python3.8/site-packages/django/conf/init.py”, line 92, in getattr
self._setup(name)
File “/usr/local/hue-4.11/hue/build/env/lib/python3.8/site-packages/django/conf/init.py”, line 79, in _setup
self._wrapped = Settings(settings_module)
File “/usr/local/hue-4.11/hue/build/env/lib/python3.8/site-packages/django/conf/init.py”, line 190, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/local/python3.8/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 843, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/local/hue-4.11/hue/desktop/core/src/desktop/settings.py”, line 286, in
appmanager.load_libs()
File “/usr/local/hue-4.11/hue/desktop/core/src/desktop/appmanager.py”, line 236, in load_libs
raise Exception(“load_apps already has been called.”)
Exception: load_apps already has been called.
make[1]: Leaving directory `/usr/local/hue-4.11/hue/apps
Help me to resolve this hue build error