You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
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.
The text was updated successfully, but these errors were encountered: