Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
3.3 kB
7
Indexable
Never
PS C:\Users\Aakash\Desktop\Project>  c:; cd 'c:\Users\Aakash\Desktop\Project'; & 'c:\Users\Aakash\AppData\Local\Programs\Python\Python312\python.exe' 'c:\Users\Aakash\.vscode\extensions\ms-python.debugpy-2024.0.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '49841' '--' 'C:\Users\Aakash\Desktop\Project\main.py' 

############# Candidate Entered Data #############

{'Candidate Name': 'Aakash V Menon', 'CV Location': 'C:/Users/Aakash/Downloads/resume.pdf'} (1, '21', '09', '09', '09', '01', '02')

############# Predicted Personality #############

['dependable']
c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy\util.py:918: 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.7.4,<3.8.0
  warnings.warn(warn_msg)
Exception in Tkinter callback
Traceback (most recent call last):
  File "c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\tkinter\__init__.py", line 1967, in __call__
    return self.func(*args)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\Aakash\Desktop\Project\main.py", line 185, in <lambda>
    submitBtn.config(command=lambda: prediction_result(top,sName,loc,(gender.get(),age.get(),openness.get(),neuroticism.get(),conscientiousness.get(),agreeableness.get(),extraversion.get())))       
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        
  File "C:\Users\Aakash\Desktop\Project\main.py", line 69, in prediction_result
    data = ResumeParser(cv_path).get_extracted_data()
           ^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyresparser\resume_parser.py", line 21, in __init__
    custom_nlp = spacy.load(os.path.dirname(os.path.abspath(__file__)))
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy\__init__.py", line 51, in load
    return util.load_model(
           ^^^^^^^^^^^^^^^^
  File "c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy\util.py", line 467, in load_model
    return load_model_from_path(Path(name), **kwargs)  # type: ignore[arg-type]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy\util.py", line 538, in load_model_from_path
    config = load_config(config_path, overrides=overrides)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\site-packages\spacy\util.py", line 714, in load_config
    raise IOError(Errors.E053.format(path=config_path, name="config file"))
OSError: [E053] Could not read config file from c:\Users\Aakash\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyresparser\config.cfg
Leave a Comment