ERROR when loading spacy model from local file #12758
Unanswered
LGTiscar
asked this question in
Help: Installation
Replies: 2 comments
-
I have converted this to a discussion first, since it is not clear yet whether this is an issue with your installation or an actual bug. For an issue we need to shake out some more specific reproducible issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Could you verify that your download directory didn't get corrupted somehow? I can't reproduce this locally:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to load the en_core_web_sm 3.5.0 from its folder, but I keep getting an error E912:
Also, as I am working with Poetry, I'll include the environment info for spacy using poetry show spacy.
How to reproduce the behaviour
Just passing a path to spacy.load() method.
Your Environment
Thing is, I don't know if this is something related to Poetry, because I tried the same workflow in a jupyter notebook and worked as intended.
[EDIT 1]
Seems that excluding "lemmatizer" from the .load() method let's the code run smoothly but, of course, now my NLP pipeline does not have a lemmatizer...
Beta Was this translation helpful? Give feedback.
All reactions