Resource 'corpora/wordnet' not found on Heroku
I'm trying to get NLTK and wordnet working on Heroku. I've already done heroku run python nltk.download() wordnet pip install -r requirements.txt But I get this error: Resource 'corpora/wordnet' not found. Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/app/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' Yet, I've looked at in /app/nltk_data and it's there, so I'm not sure what's going on. follyroof I just had this same problem. What ended up working for me is creating an 'nltk