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
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
1条答案
按热度按时间0x6upsns1#
https://docs.pydantic.dev/2.6/migration/#continue-using-pydantic-v1-features
直接安装pip install "pydantic==1.*"