title: Resource punkt not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt')
body: <p>I have NLTK installed and it is going me error
  Resource punkt not found.
  Please use the NLTK Downloader to obtain the resource:</p>
  <p>import nltk
  nltk.download('punkt')
  For more information see: <a href="https://www.nltk.org/data.html" rel="nofollow noreferrer">https://www.nltk.org/data.html</a></p>
  <p>Attempted to load tokenizers/punkt/PY3/english.pickle</p>
  <p>Searched in:
  - '/Users/divyanshundley/nltk_data'
  - '/Library/Frameworks/Python.framework/Versions/3.10/nltk_data'
  - '/Library/Frameworks/Python.framework/Versions/3.10/share/nltk_data'
  - '/Library/Frameworks/Python.framework/Versions/3.10/lib/nltk_data'
  - '/usr/share/nltk_data'
  - '/usr/local/share/nltk_data'
  - '/usr/lib/nltk_data'
  - '/usr/local/lib/nltk_data'
  - ''</p>
  <hr />
  <p>and my code is</p>
  <pre><code>import nltk
  nltk.download('punkt')
  
  def tokenize(token):
      return nltk.word_tokenize(token);
  tokenize(&quot;why is this not working?&quot;);
  </code></pre>