Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydantic module version error #583

Open
enesdemir7 opened this issue Jul 27, 2024 · 1 comment
Open

pydantic module version error #583

enesdemir7 opened this issue Jul 27, 2024 · 1 comment

Comments

@enesdemir7
Copy link

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 setting model_config['protected_namespaces'] = ().
    warnings.warn(
    `
    Screenshot_20240727_232153

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.

Screenshot_20240727_232451

@yasigneer
Copy link

i have same issue too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants