Dash (not writable)

Hello everyone,

I’m trying to run a simple tutorial script from here: https://dash.plot.ly/getting-started in Jupyter Notebook. At first, I’ve got an error “not writable” and changed the parameters like this:

def echo(message=None, file=sys.stdout, nl=True, err=False, color=None):

def secho(text, file=sys.stdout, nl=True, err=False, color=None, **styles):

And now it returns:

An exception has occurred, use %tb to see the full traceback.

SystemExit: 1

/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py:2969: UserWarning:

To exit: use ‘exit’, ‘quit’, or Ctrl-D.

there are also a localhost page and a debug pin, the localhost page is blank.

I’ve also installed flask=0.12.2 but nothing has changed((

Maybe somebody also ran in the same issue? Will really appreciate some advice

Use run_server(debug=False) if you’re not already. I see that debug mode can cause problems for Jupyter Notebook

Oh my gosh, it works! Thank you!

1 Like