[求助问答]求助:Flask怎么用

5207浏览
查看: 5207|回复: 1

[求助问答] 求助:Flask怎么用

[复制链接]
这个是报错图片求助:Flask怎么用图1

这个是信息Traceback (most recent call last):
  File "C:\Users\liu\Documents\mindplus-py\user\2022-10-15-22-32-06\.cache-file.py", line 5, in <module
    from flask import Flask,Response,render_template,request
  File "C:\Users\liu\Documents\mindplus-py\environment\Lib\1.7.2-202206161900\site-packages\flask\__init__.py", line 3, in <module>
    from werkzeug.exceptions import abort as abort
  File "C:\Users\liu\Documents\mindplus-py\environme
Traceback (most recent call last):
  File "C:\Users\liu\Documents\mindplus-py\user\2022-10-15-22-32-06\.cache-file.py", line 5, in <module
    from flask import Flask,Response,render_template,request
  File "C:\Users\liu\Documents\mindplus-py\environment\Lib\1.7.2-202206161900\site-packages\flask\__init__.py", line 3, in <module>
    from werkzeug.exceptions import abort as abort
  File "C:\Users\liu\Documents\mindplus-py\environment\Lib\1.7.2-202206161900\site-packages\werkzeug\__init__.py", line 2, in <module>        
    from .test import Client as Client
  File "C:\Users\liu\Documents\mindplus-py\environment\Lib\1.7.2-202206161900\site-packages\werkzeug\test.py", line 30, in <module>
    from .sansio.multipart import Data
  File "C:\Users\liu\Documents\mindplus-py\environment\Lib\1.7.2-202206161900\site-packages\werkzeug\sansio\multipart.py", line 2, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
>>>

easy猿  初级技师

发表于 2024-11-23 19:01:42

看看我的帖子有教程
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail