Closed organizejs closed 5 years ago
Which version of spaCy are you running? I just tried with 2.0.16 and it worked.
@ahalterman i'm using spaCy version: 2.0.18 Let me downgrade and try again
i downgraded and i'm getting the exact same issue
Huh. Thanks for checking. What happens if you explicitly create the nlp
object before calling Mordecai?
import spacy
nlp = spacy.load("en_core_web_lg")
# then load mordecai
from mordecai import Geoparser
geo = Geoparser()
geo.geoparse("From Ottowa to Beijing.")
i get the same issue:
any chance it might be numpy version related?
It looks like an issue with your spaCy installation. This issue seems to be the same and was solved by a fresh install.
You could also take a look at spacy's validate
command, which checks whether the models are compatible with your current version: https://spacy.io/api/cli#validate
Thanks i'll try out a fresh install and keep you posted.
Looks like re-creating the virtual env worked. Thanks
Happy to help!
@organizejs 您好,请问你成功运行的环境spacy版本号是多少?还有这个en_core_web_lg
I'm getting an issue when running a simple test script
This is the error: