WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Problem with Pydantic Version #51

@amr-martini

Description

@amr-martini

I was having issues with importing spacy after running setup.sh. Specifically, upon importing spacy, class definitions from Spacy will try to leverage pydantic, but version 1.8.2 seems to be incompatible with spacy's class definitions and throw this error:

TypeError: issubclass() arg 1 must be a class

So I downgraded to pydantic version 1.7.4 and that seemed to fix spacy's issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions