cannot import name dataclass_transform

报错信息如下:

file "pydantic/dataclasses.py", line 41, in init pydantic.dataclasses # |  | no action: no method is added. 
importerror: cannot import name dataclass_transform

修改方式:

pip install typing_extensions==4.5.0

你可能感兴趣的:(java,前端,开发语言)