Below is my dash program, dash_app.py
import dash
import dash_core_components as dcc
import dash_html_components as html
import pandas
app = dash.Dash()
app.layout = html.Div(children=[
html.H1(children=‘Dash Tutorials’),
dcc.Graph(
id=‘example’,
figure={
‘data’: [
{‘x’: [1, 2, 3, 4, 5], ‘y’: [9, 6, 2, 1, 5], ‘type’: ‘line’, ‘name’: ‘Boats’},
{‘x’: [1, 2, 3, 4, 5], ‘y’: [8, 7, 2, 7, 3], ‘type’: ‘bar’, ‘name’: ‘Cars’},
],
‘layout’: {
‘title’: ‘Basic Dash Example’
}
}
)
])
server = app.server
if name == ‘main’:
app.run_server(debug=True)
wsgi.py file as below
import sys
sys.path.insert(0,“D:/Python_Project/test/”)
from dash_app import app as application
if I remove “import pandas” in dash_app.py apache run is OK,but If I add the “import pandas” or other third packet ,the browser keeps spinning in circles, and there is no error reported by apache
I don’t known the reason for the problem?