Using Pyinstaller with NLTK results in error: can't find nltk_data
问题 I am attempting to export a simple GUI that used NLTK as an exe with Python 3.6 and Windows 10. When I run PyInstaller to freeze my simple program as an exe I get the error: Unable to find "c:\users\usr\nltk_data" when adding binary and data files. When I even copied the nltk_data folder here and I get an error in a different nltk.data.path path "c:\users\usr\appdata\local\programs\python\python36\nltk_data" import tkinter as tk from nltk.corpus import stopwords sw = stopwords.words('english'