sloria / TextBlob

Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
https://textblob.readthedocs.io/
MIT License
9.13k stars 1.15k forks source link

Textblob not finding the downloaded corpora #473

Open stajdini opened 3 weeks ago

stajdini commented 3 weeks ago

When I want to use TextBlob, there is an error asking me to run: python -m textblob.download_corpora

When it run that, it does download the corpora in the directory : C:\Users{my username}\AppData\Roaming\nltk_data

But apparently, TextBlob can not find the corpora and keeps asking me to download them. This only happens if I use TextBlob in a virtual environment. No issues in the global environment. Any solutions?

gajanan0707 commented 6 days ago

I am also facing Same issue

Error processing sentence: Looks like you are missing some required data for this feature.

To download the necessary data, simply run

python -m textblob.download_corpora

or use the NLTK downloader to download the missing data: http://nltk.org/data.html If this doesn't fix the problem, file an issue at https://github.com/sloria/TextBlob/issues.