You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
楼主你好,我在运行该程序时遇到了以下报错问题,该如何解决呢
C:\Users\Eternal\Desktop\examples-of-web-crawlers-master\11.一键分析你的上网行为(web页面可视化)>python app.py
Traceback (most recent call last):
File "C:\Users\Eternal\Desktop\examples-of-web-crawlers-master\11.一键分析你的上网行为(web页面可视化)\app.py", line 13, in
from app_configuration import app
File "C:\Users\Eternal\Desktop\examples-of-web-crawlers-master\11.一键分析你的上网行为(web页面可视化)\app_configuration.py", line 21, in
app = dash.Dash(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Eternal\AppData\Local\Programs\Python\Python311\Lib\site-packages\dash\dash.py", line 338, in init
self.init_app()
File "C:\Users\Eternal\AppData\Local\Programs\Python\Python311\Lib\site-packages\dash\dash.py", line 377, in init_app
self.server.before_first_request(self._setup_server)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Flask' object has no attribute 'before_first_request'. Did you mean: '_got_first_request'?
The text was updated successfully, but these errors were encountered:
楼主你好,我在运行该程序时遇到了以下报错问题,该如何解决呢
C:\Users\Eternal\Desktop\examples-of-web-crawlers-master\11.一键分析你的上网行为(web页面可视化)>python app.py
Traceback (most recent call last):
File "C:\Users\Eternal\Desktop\examples-of-web-crawlers-master\11.一键分析你的上网行为(web页面可视化)\app.py", line 13, in
from app_configuration import app
File "C:\Users\Eternal\Desktop\examples-of-web-crawlers-master\11.一键分析你的上网行为(web页面可视化)\app_configuration.py", line 21, in
app = dash.Dash(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Eternal\AppData\Local\Programs\Python\Python311\Lib\site-packages\dash\dash.py", line 338, in init
self.init_app()
File "C:\Users\Eternal\AppData\Local\Programs\Python\Python311\Lib\site-packages\dash\dash.py", line 377, in init_app
self.server.before_first_request(self._setup_server)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Flask' object has no attribute 'before_first_request'. Did you mean: '_got_first_request'?
The text was updated successfully, but these errors were encountered: