Find answers from the community

Updated 3 months ago

We're seeing this issue when running our

We're seeing this issue when running our project and doing a fresh install of the dependencies. Anyone else experiencing this or know what could cause this?

"Resource wordnet not found. Please use the NLTK Downloader to obtain the resource:"
M
L
14 comments
@Logan M does llama index use nltk >= 3.8.1 as a version? Probably safer to pin that to a version. Seems like nltk 3.9 is in a broken state currently.
I don't thiiiink any of the features we use are broken
Could be wrong
Ah I see, this was released just a few hours ago πŸ€¦β€β™‚οΈ I was avoiding pinning it because I was trying to avoid installing a cve. It's been a bit of a fiasco over there
yea this issue is very new...
adding nltk==3.8.1 to my requirements.txt does fix the issue
I've created an issue for this in the llama index repo: https://github.com/run-llama/llama_index/issues/15470
using nltk==3.9b1 is probably better as I believe there are some security vulnerabilities in 3.8.1. 3.9b1 is a pre-release version though.
Yea poetry does not play nice with beta versions in toml files.

For now, I set the dependency to be nltk = ">=3.8.1,!=3.9"
So users can install the prerelease if they want, and when nltk updates again, it will catch it
Nice one @Logan M ! Thanks for picking this up so quickly.
Add a reply
Sign up and join the conversation on Discord