HumanSignal/label-studio-ml-backend

pydantic module version error

Opened this issue · 1 comments

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

i have same issue too