pydantic module version error
Opened this issue · 1 comments
enesdemir7 commented
I have trying to install ML backend latest but unfortunately I am getting error:
`/home/marlo/.local/lib/python3.10/site-packages/pydantic/_internal/_config.py:341: UserWarning: Valid config keys have changed in V2:
- 'allow_population_by_field_name' has been renamed to 'populate_by_name'
warnings.warn(message, UserWarning)
/home/marlo/.local/lib/python3.10/site-packages/pydantic/_internal/fields.py:161: UserWarning: Field "model_version" has conflict with protected namespace "model".
You may be able to resolve this warning by settingmodel_config['protected_namespaces'] = ()
.
warnings.warn(
`
I tried to downgrade the pydantic module and run it again, but other problems occurred.
When I examined the ML backend codes, I saw that the response.py file uses this module. But I can't find a solution.
yasigneer commented
i have same issue too