Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

11.一键分析你的上网行为(web页面可视化)运行报错 #121

Open
Nq26rp opened this issue Jun 11, 2023 · 1 comment
Open

11.一键分析你的上网行为(web页面可视化)运行报错 #121

Nq26rp opened this issue Jun 11, 2023 · 1 comment

Comments

@Nq26rp
Copy link

Nq26rp commented Jun 11, 2023

楼主你好,我在运行该程序时遇到了以下报错问题,该如何解决呢
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'?

@Nq26rp
Copy link
Author

Nq26rp commented Jun 11, 2023

@shengqiangzhang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant