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

Errors running the program. #51

Open
yousafzahid95 opened this issue Apr 28, 2021 · 0 comments
Open

Errors running the program. #51

yousafzahid95 opened this issue Apr 28, 2021 · 0 comments

Comments

@yousafzahid95
Copy link

I'm a newbie at this and I'm doing a university project that includes extraction of information from a resume but when I try to run your parser I experience a lot of errors such as:

data = ResumeParser("C:/Users/yriva/Desktop/NLP/resume.pdf").get_extracted_data()
C:\Users\yriva\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\util.py:717: UserWarning: [W094] Model 'en_training' (0.0.0) specifies an under-constrained spaCy version requirement: >=2.1.4. This can lead to compatibility problems with older versions, or as new spaCy versions are released, because the model may say it's compatible when it's not. Consider changing the "spacy_version" in your meta.json to a version range, with a lower and upper pin. For example: >=3.0.6,<3.1.0
warnings.warn(warn_msg)
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\yriva\Desktop\pyresparser-master\pyresparser\resume_parser.py", line 21, in init
custom_nlp = spacy.load(os.path.dirname(os.path.abspath(file)))
File "C:\Users\yriva\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy_init_.py", line 50, in load
return util.load_model(
File "C:\Users\yriva\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\util.py", line 326, in load_model
return load_model_from_path(Path(name), **kwargs)
File "C:\Users\yriva\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\util.py", line 390, in load_model_from_path
config = load_config(config_path, overrides=dict_to_dot(config))
File "C:\Users\yriva\AppData\Local\Programs\Python\Python39\lib\site-packages\spacy\util.py", line 547, in load_config
raise IOError(Errors.E053.format(path=config_path, name="config.cfg"))
OSError: [E053] Could not read config.cfg from C:\Users\yriva\Desktop\pyresparser-master\pyresparser\config.cfg

Please help. Thanks

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

1 participant