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: [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 this issue Feb 15, 2022 · 3 comments

Comments

@kabilrb
Copy link

kabilrb commented Feb 15, 2022

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
Copy link

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
Copy link

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
Copy link

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.

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

4 participants