Textblob on django + apache on aws gives MissingCorpusError

I have AWS linux working with apache and django. I have installed the textbob extension and it works well through the python shell. However, when I use it in views.py it always gives me a MissingCorpusError.

I have already downloaded the corpus ( python -m textblob.download_corpora ) and the module works fine with the python shell. What is the problem? Stuck on this thing since two days.

Below is the error message,

It looks like you are missing some of the required data for this function. download the data you need, just run python -m textblob.download_corporaor uses the NLTK downloader to download the missing data: http://nltk.org/data.htmlIf , this does not fix the problem, point the issue to https://github.com/sloria/ TextBlob / issues .

+3


source to share





All Articles