Closed nylocx closed 5 years ago
@nylocx thanks for reporting, this is a bug - the underlying dpd library is now insisting on settings being present and not using defaults
Hello, I'm currently having the same issue:
~/pentane/lib/python3.7/site-packages/django/conf/__init__.py in __getattr__(self, name)
77 """Return the value of a setting and cache it in self.__dict__."""
78 if self._wrapped is empty:
---> 79 self._setup(name)
80 val = getattr(self._wrapped, name)
81 self.__dict__[name] = val
~/pentane/lib/python3.7/site-packages/django/conf/__init__.py in _setup(self, name)
62 "You must either define the environment variable %s "
63 "or call settings.configure() before accessing settings."
---> 64 % (desc, ENVIRONMENT_VARIABLE))
65
66 self._wrapped = Settings(settings_module)
ImproperlyConfigured: Requested setting PLOTLY_DASH, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Is there any workaround for this yet?
pip install -U django-plotly-dash==0.9.8
fixed this issue for me.
That worked, thanks!
PR #35 has been pulled into master, and released as v0.2.1 This issue should now be resolved; if not then either reopen this issue or create a new one.
I installed with pip install jupyter_plotly_dash and everything seemed to run fine there. But if I try these two simple lines:
I get an error from the Django Backend stuff. I have no idea how to fix this as I don't have a settings.py.