Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NLTK package installation #98

Open
SCedricThomas opened this issue Apr 9, 2024 · 0 comments
Open

NLTK package installation #98

SCedricThomas opened this issue Apr 9, 2024 · 0 comments
Labels

Comments

@SCedricThomas
Copy link

It seems that NLTK is not working anymore.
I am using the latest nltk package version.
With the following nltk.txt:

stopwords 
punkt 
wordnet 

I am getting this output during the build:

-----> Downloading NLTK packages: stopwords punkt wordnet averaged_perceptron_tagger
<frozen runpy>:128: RuntimeWarning: 'nltk.downloader' found in sys.modules after import of package 'nltk', but prior to execution of 'nltk.downloader'; this may result in unpredictable behaviour
[nltk_data] Error loading stopwords : Package 'stopwords ' not found
[nltk_data] in index
Error installing package. Retry? [n/y/e]
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/.scalingo/python/lib/python3.11/site-packages/nltk/downloader.py", line 2544, in <module>
rv = downloader.download(
^^^^^^^^^^^^^^^^^^^^
File "/app/.scalingo/python/lib/python3.11/site-packages/nltk/downloader.py", line 788, in download
choice = input().strip()
^^^^^^^
EOFError: EOF when reading a line
@ipfaze ipfaze changed the title NLTK package installaion NLTK package installation Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant