-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Thank you for providing this fantastic library.
I had a problem dash/jupyter_dash that I copied below.
dash 2.1.0
dash-bootstrap-components 1.0.2
dash-core-components 2.0.0
dash-html-components 2.0.0
dash-renderer 1.1.2
dash-table 5.0.0
jupyter-dash 0.4.0
AttributeError Traceback (most recent call last)
/var/folders/xv/d091l2wd693b381xlqk8r1500000gn/T/ipykernel_5375/385882412.py in
50
51 if name == "main":
---> 52 app.run_server(mode = "external", debug=True, port=8050)
53 # app.run_server(debug=True, mode='inline',host="0.0.0.0",port=8058)
~/opt/anaconda3/envs/DPWorld2_conda_install_only/lib/python3.8/site-packages/jupyter_dash/jupyter_app.py in run_server(self, mode, width, height, inline_exceptions, **kwargs)
229 else:
230 requests_pathname_prefix = '/'
--> 231 self.config.update({'requests_pathname_prefix': requests_pathname_prefix})
232
233 # Compute server_url url
~/opt/anaconda3/envs/DPWorld2_conda_install_only/lib/python3.8/site-packages/dash/_utils.py in update(self, other)
167 # Overrides dict.update() to use setitem above
168 for k, v in other.items():
--> 169 self[k] = v
170
171 # pylint: disable=inconsistent-return-statements
~/opt/anaconda3/envs/DPWorld2_conda_install_only/lib/python3.8/site-packages/dash/_utils.py in setitem(self, key, val)
156 def setitem(self, key, val):
157 if key in self.dict.get("_read_only", {}):
--> 158 raise AttributeError(self._read_only[key], key)
159
160 final_msg = self.dict.get("_final")
AttributeError: ('Read-only: can only be set in the Dash constructor or during init_app()', 'requests_pathname_prefix')