Skip to content

import en_ner_bionlp13cg_md results in error --> AttributeError: type object 'Language' has no attribute 'component' #7390

Discussion options

You must be logged in to vote

Hi, you need to update your model URL to the one for the version of scispacy that supports spacy v3. See:

https://github.com/allenai/scispacy/#available-models

The older models for spacy v2 / scispacy 0.2.x/0.3.x are not compatible with the spacy v3.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Rd0394
Comment options

@adrianeboyd
Comment options

@Rd0394
Comment options

Answer selected by Rd0394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues third-party Third-party packages and services
2 participants
Converted from issue

This discussion was converted from issue #7383 on March 10, 2021 09:38.