I\'m encountering problems with the NLTK package in AWS Lambda. However I believe the issue is related more to path configurations in Lambda being incorrect. NLTK is having
Seems your current Python code runs from /var/task. I would suggest trying (haven't tried myself):
/var/task
nltk.data.path.append("/var/task/nltk_data")