OmkarPathak / ResumeParser

A simple resume parser used for extracting information from resumes
MIT License
282 stars 164 forks source link

OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory. #56

Open kabilrb opened 2 years ago

kabilrb commented 2 years ago

I tried to solve the issues in many ways but still not solved...... I even tried to install en_core_web_sm using python3 -m spacy download en_core_web_sm. Is there anyother way to solve this problem??the older version of spacy is also not getting installed.

tornikepirveli commented 2 years ago

Try this:

import en_core_web_sm
nlp = en_core_web_sm.load()

if this works then local environment just needed to load the corpus.

bakamono12 commented 8 months ago

I tried to solve the issues in many ways but still not solved...... I even tried to install en_core_web_sm using python3 -m spacy download en_core_web_sm. Is there anyother way to solve this problem??the older version of spacy is also not getting installed.

I have found a workaround for this, delete the Old Venv and reinstall the packages using this set of commands

pip install nltk
pip install spacy==2.3.5
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
pip install pyresparser

i fixed the issues with this.

tufailKhan-dev commented 1 month ago

ERROR: Could not build wheels for spacy, which is required to install pyproject.toml-based projects

I tried to solve the issues in many ways but still not solved...... I even tried to install en_core_web_sm using python3 -m spacy download en_core_web_sm. Is there anyother way to solve this problem??the older version of spacy is also not getting installed.

I have found a workaround for this, delete the Old Venv and reinstall the packages using this set of commands

pip install nltk
pip install spacy==2.3.5
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
pip install pyresparser

i fixed the issues with this.