MockingBird how to solve this problem about pydantic V2? 跑代码在运行web.py时说pydantic版本不对,我使用liunx系统下跑的

bbmckpt7  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(48)

PydanticImportError: pydantic:parse_raw_as has been removed in V2.

For further information visit https://errors.pydantic.dev/2.6/u/import-error

PyTorch 2.1.0
Python 3.10(ubuntu22.04)
Cuda 12.1

0x6upsns

0x6upsns1#

https://docs.pydantic.dev/2.6/migration/#continue-using-pydantic-v1-features
直接安装pip install "pydantic==1.*"

相关问题