Open kabilrb opened 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.
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.
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.
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.