ModuleNotFoundError NLTK


can anyone help…I tried many methods but didn;t work

Hi @fernweh_vibe, and welcome to the Streamlit community! :balloon::raised_hands:

May I ask which method(s) have you tried?

It should work if you do a pip install (see here for details → NLTK :: Installing NLTK), then import nltk and your corpus in your streamlit_app.py file, as follows:

import nltk
nltk.download("popular")

Let me know if that sorts your issue :slight_smile:

Best,
Charly

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.