runtime error

(most recent call last): File "/home/user/app/app.py", line 9, in <module> from utils import is_chinese, process_image_without_resize, parse_response, templates_agent_cogagent, template_grounding_cogvlm, postprocess_text File "/home/user/app/utils.py", line 4, in <module> import spacy File "/home/user/.local/lib/python3.10/site-packages/spacy/__init__.py", line 13, in <module> from . import pipeline # noqa: F401 File "/home/user/.local/lib/python3.10/site-packages/spacy/pipeline/__init__.py", line 1, in <module> from .attributeruler import AttributeRuler File "/home/user/.local/lib/python3.10/site-packages/spacy/pipeline/attributeruler.py", line 8, in <module> from ..language import Language File "/home/user/.local/lib/python3.10/site-packages/spacy/language.py", line 42, in <module> from .pipe_analysis import analyze_pipes, print_pipe_analysis, validate_attrs File "/home/user/.local/lib/python3.10/site-packages/spacy/pipe_analysis.py", line 6, in <module> from .tokens import Doc, Span, Token File "/home/user/.local/lib/python3.10/site-packages/spacy/tokens/__init__.py", line 1, in <module> from ._serialize import DocBin File "/home/user/.local/lib/python3.10/site-packages/spacy/tokens/_serialize.py", line 14, in <module> from ..vocab import Vocab File "spacy/vocab.pyx", line 1, in init spacy.vocab File "spacy/tokens/doc.pyx", line 49, in init spacy.tokens.doc File "/home/user/.local/lib/python3.10/site-packages/spacy/schemas.py", line 19, in <module> from pydantic import ( File "/home/user/.local/lib/python3.10/site-packages/pydantic/__init__.py", line 374, in __getattr__ return _getattr_migration(attr_name) File "/home/user/.local/lib/python3.10/site-packages/pydantic/_migration.py", line 302, in wrapper raise PydanticImportError(f'`{import_path}` has been removed in V2.') pydantic.errors.PydanticImportError: `pydantic:ConstrainedStr` has been removed in V2. For further information visit https://errors.pydantic.dev/2.6/u/import-error

Container logs:

Fetching error logs...