求助:Flask怎么用
这个是报错图片这个是信息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'
>>>
看看我的帖子有教程
页:
[1]