[Python] problem with Spacy 3.8.3 and pydantic ModelMetaclass

Discussão em 'Python' iniciado por Stack, Fevereiro 2, 2025.

  1. Stack

    Stack Membro Participativo

    I can't properly import Spacy 3.8.4 in Visual Studio in my project. I then work with Spacy 3.8.3. But within my VisualStudio python 3.9 environment, I have Spacy 3.8.3 and pydantic 2.10.6 and my code. Very simple code: I just want to import Spacy ... and it crashes, the tracing states that it cannot find ModelMetaclass in lib/site-packages/pydantic/main.py ... But why?

    I looked throught the main... yes, line 89 there is a call to ModelMetaclass ... but I do not see any obvious bugs in pydantic main.

    Any help would be nice!

    Continue reading...

Compartilhe esta Página