Skip to content

issue with !python -m spacy download en_core_web_lg. #78

Open

Description

@srikrishnasajjarao

I downloaded skillNer using !pip install skillNer, as a second step, i am downloading spacy using !python -m spacy download en_core_web_lg in jupyter notebook.

but I am getting error as below.

Traceback (most recent call last):
File "", line 189, in run_module_as_main
File "", line 148, in get_module_details
File "", line 112, in get_module_details
File "C:\Users\sajja\anaconda3\Lib\site-packages\spacy_init
.py", line 13, in
from . import pipeline # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sajja\anaconda3\Lib\site-packages\spacy\pipeline_init
.py", line 1, in
from .attributeruler import AttributeRuler
File "C:\Users\sajja\anaconda3\Lib\site-packages\spacy\pipeline\attributeruler.py", line 8, in
from ..language import Language
File "C:\Users\sajja\anaconda3\Lib\site-packages\spacy\language.py", line 43, in
from .pipe_analysis import analyze_pipes, print_pipe_analysis, validate_attrs
File "C:\Users\sajja\anaconda3\Lib\site-packages\spacy\pipe_analysis.py", line 6, in
from .tokens import Doc, Span, Token
File "C:\Users\sajja\anaconda3\Lib\site-packages\spacy\tokens_init.py", line 1, in
from .serialize import DocBin
File "C:\Users\sajja\anaconda3\Lib\site-packages\spacy\tokens_serialize.py", line 14, in
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\sajja\anaconda3\Lib\site-packages\spacy\schemas.py", line 195, in
class TokenPatternString(BaseModel):
File "C:\Users\sajja\anaconda3\Lib\site-packages\pydantic\main.py", line 286, in new
cls.try_update_forward_refs()
File "C:\Users\sajja\anaconda3\Lib\site-packages\pydantic\main.py", line 808, in try_update_forward_refs
update_model_forward_refs(cls, cls.fields.values(), cls.config.json_encoders, localns, (NameError,))
File "C:\Users\sajja\anaconda3\Lib\site-packages\pydantic\typing.py", line 554, in update_model_forward_refs
update_field_forward_refs(f, globalns=globalns, localns=localns)
File "C:\Users\sajja\anaconda3\Lib\site-packages\pydantic\typing.py", line 529, in update_field_forward_refs
update_field_forward_refs(sub_f, globalns=globalns, localns=localns)
File "C:\Users\sajja\anaconda3\Lib\site-packages\pydantic\typing.py", line 520, in update_field_forward_refs
field.type
= evaluate_forwardref(field.type_, globalns, localns or None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sajja\anaconda3\Lib\site-packages\pydantic\typing.py", line 66, in evaluate_forwardref
return cast(Any, type_)._evaluate(globalns, localns, set())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'

how to rectify it? when I asked chatGPT it said some version compatibility issues. could you please provide the version numbers for the packages used?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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