Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: [E053] Could not read meta.json from en\meta.json #30

Closed
ITJaylon opened this issue Sep 28, 2021 · 3 comments
Closed

OSError: [E053] Could not read meta.json from en\meta.json #30

ITJaylon opened this issue Sep 28, 2021 · 3 comments

Comments

@ITJaylon
Copy link

Traceback (most recent call last):
File "C:/Users/ITJaylon/Desktop/errant/errant/test.py", line 3, in
annotator = errant.load('en')
File "C:\Users\ITJaylon\Desktop\errant\errant_init_.py", line 16, in load
nlp = nlp or spacy.load(lang, disable=["ner"])
File "E:\Anaconda\envs\errant_env\lib\site-packages\spacy_init_.py", line 30, in load
return util.load_model(name, **overrides)
File "E:\Anaconda\envs\errant_env\lib\site-packages\spacy\util.py", line 172, in load_model
return load_model_from_path(Path(name), **overrides)
File "E:\Anaconda\envs\errant_env\lib\site-packages\spacy\util.py", line 198, in load_model_from_path
meta = get_model_meta(model_path)
File "E:\Anaconda\envs\errant_env\lib\site-packages\spacy\util.py", line 253, in get_model_meta
raise IOError(Errors.E053.format(path=meta_path))
OSError: [E053] Could not read meta.json from en\meta.json

Process finished with exit code 1

@ITJaylon
Copy link
Author

I just follow the instruction of quick start with the Errant API, however, encountered this problem.

@chrisjbryant
Copy link
Owner

It's hard to tell from that readout, but I'm not sure you installed spacy properly. Try reinstalling everything in a clean venv.

@ITJaylon
Copy link
Author

Thank you, I'll have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants