babysor / babysor/MockingBird

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

Open
#985 1 comment 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.