How to Solve NameError: name 'gutenberg' is not defined -- nltk
Solution: Import the 'gutenberg' module
To Solve the error, add the following line to the top of your code.
from nltk.corpus import gutenberg
For more information:
Python nltk gutenberg