Build project requiring NLTK

I am trying to build a Panda3D project that requires the NLTK package.

In my requirements.txt file, I have:

nltk==3.5
panda3d==1.10.7

When I run python setup.py bdist_apps, I get the following error:

Looking in indexes: https://pypi.org/simple, https://archive.panda3d.org/simple/opt, https://archive.panda3d.org/thirdparty
ERROR: Could not find a version that satisfies the requirement nltk==3.5 (from -r C:\Users\annaf\OneDrive\Documents\RU\2020-2\NLP\Assignments\Final\requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for nltk==3.5 (from -r C:\Users\annaf\OneDrive\Documents\RU\2020-2\NLP\Assignments\Final\requirements.txt (line 1))

Even though, when I manually search Simple index, it does contain the NTLK package. What am I doing wrong here? Thanks for your help!

Hi, welcome to the community

It looks like nltk hasn’t uploaded wheels for their package, which are required by the distribution system. It appears that there is an open issue about this.

Until they fix it, I’ve just built a wheel of nltk 3.5 and uploaded it to our thirdparty index, so try again, and it should work now.

1 Like