how to solve this problem about pydantic V2? 跑代码在运行web.py时说pydantic版本不对,我使用liunx系统下跑的
Open
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the PydanticImportError by running web.py in the stated Ubuntu, Python 3.10, and PyTorch 2.1.0 environment. Search the repository for parse_raw_as and inspect how the Pydantic version is selected; done means web.py runs without this import failure and the supported dependency choice is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100