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
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\User\AppData\Local\Programs\Python\Python39\Scripts\spacy.exe\__main__.py", line 4, in <module>
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\__init__.py", line 13, in <module>
from . import pipeline # noqa: F401
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\pipeline\__init__.py", line 1, in <module>
from .attributeruler import AttributeRuler
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\pipeline\attributeruler.py", line 8, in <module>
from ..language import Language
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\language.py", line 43, in <module>
from .pipe_analysis import analyze_pipes, print_pipe_analysis, validate_attrs
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\pipe_analysis.py", line 6, in <module>
from .tokens import Doc, Span, Token
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\tokens\__init__.py", line 1, in <module>
from ._serialize import DocBin
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\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 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\schemas.py", line 287, in <module>
class TokenPattern(BaseModel):
File "pydantic\main.py", line 299, in pydantic.main.ModelMetaclass.__new__
File "pydantic\fields.py", line 411, in pydantic.fields.ModelField.infer
File "pydantic\fields.py", line 342, in pydantic.fields.ModelField.__init__
File "pydantic\fields.py", line 451, in pydantic.fields.ModelField.prepare
File "pydantic\fields.py", line 545, in pydantic.fields.ModelField._type_analysis
File "pydantic\fields.py", line 550, in pydantic.fields.ModelField._type_analysis
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\typing.py", line 852, in __subclasscheck__
return issubclass(cls, self.__origin__)
TypeError: issubclass() arg 1 must be a class
The text was updated successfully, but these errors were encountered:
How to reproduce the behaviour
import spacy
Your Environment
The text was updated successfully, but these errors were encountered: