I tried to follow an example of building a data dashboard from here.
This is the code run on JupyterLab.
import dash
from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html
But, activating the Dash server using the following code return error.
app = dash.Dash(__name__)
server = app.server
if __name__ == '__main__':
app.run_server(debug=True)
Error message:
An exception has occurred, use %tb to see the full traceback.
SystemExit: 1
C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3334: UserWarning:
To exit: use 'exit', 'quit', or Ctrl-D.
I changed debug=True
with debug=False
, but the server (http://127.0.0.1:8050/
) is not opening. Instead, it keeps processing without opening a new page.
Thanks for your help.