Problem with reading wordnet even though I have included'wordnet') in my code

My app was working fine some days before but now it is unable to read wordnet from the same code. Showing this lookup error


Resource ‘corpora/’ not found. Please

use the NLTK Downloader to obtain the resource: >>>

Searched in:

- '/home/appuser/nltk_data'

- '/usr/share/nltk_data'

- '/usr/local/share/nltk_data'

- '/usr/lib/nltk_data'

- '/usr/local/lib/nltk_data'

Hi @solatjabeen,

Are you running this app locally or on Streamlit Cloud? If on Streamlit Cloud, it looks like you might have a local path in your code, which won’t work when your app is deployed since the app will no longer have access to your local machine.


Hello @Caroline,

The app is running on streamlit cloud and I do not have any local paths in my app. The same code was executing perfectly on streamlit cloud some days ago but now it is raising issues.


@solatjabeen Can you share the GitHub repo?