ResumeParser icon indicating copy to clipboard operation
ResumeParser copied to clipboard

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.

Open kabilrb opened this issue 3 years ago • 3 comments

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.

kabilrb avatar Feb 15 '22 11:02 kabilrb

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.

tornikepirveli avatar Apr 07 '22 08:04 tornikepirveli

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.

bakamono12 avatar Oct 29 '23 19:10 bakamono12