Q:

NLTK. Punkt not found

As the title suggests, punkt isn't found.
Of course, I've already import nltk and nltk.download('all').
This still doesn't solve anything and I'm still getting this error:

Exception Type:    LookupError
  Exception Value:
  NLTK tokenizers are missing. Download them by following command: python -c "import nltk; nltk.download('punkt')"

I ran nltk.data.path and it output
['/root/nltk_data', '/usr/nltk_data', '/usr/share/nltk_data', '/usr/lib/nltk_data', '/usr/share/nltk_data', '/usr/local/share/nltk_data', '/usr/lib/nltk_data', '/usr/local/lib/nltk_data']

punkit is under /root/nltk_data and I've already checked file permissions.
Anything I'm missing?

A:

Turns out the user didn't have permission to access the file.
Answer here:
different nltk results in django and at command line

