how to solve this problem about pydantic V2? 跑代码在运行web.py时说pydantic版本不对,我使用liunx系统下跑的
JJJJJJX1 opened this issue · comments
JJJJJJX1 commented
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
PenNameLuXun commented
https://docs.pydantic.dev/2.6/migration/#continue-using-pydantic-v1-features
直接安装pip install "pydantic==1.*"