Delete the folder named (or Mac equivalent) and the associated ".ini" file.
import nltk nltk.download('punkt') nltk.download('punkt_tab') # sometimes needed nltk.download('wordnet') # for lemmatizing nltk.download('porter_test') # if using PorterStemmer could not load stem extractor module
Download the missing data:
This error frequently appears when there is a mismatch between the Python architecture and the installed packages. Delete the folder named (or Mac equivalent) and