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 modules issue while building docker on Ubuntu22.04 #1349

Open
1 task done
NeyokiCat opened this issue Oct 25, 2023 · 0 comments
Open
1 task done

nltk modules issue while building docker on Ubuntu22.04 #1349

NeyokiCat opened this issue Oct 25, 2023 · 0 comments

Comments

@NeyokiCat
Copy link

⚠️ Check for existing issues before proceeding. ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?

Linux

Which branch of SuperAGI are you using?

Main

Do you use OpenAI GPT-3.5 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

Cannot complete the build, exit code 1

How to replicate your Issue?

Build the latest repository using ubuntu22.04 using docker

Upload Error Log Content

[superagi-backend compile-image 7/9] RUN python -m nltk.downloader averaged_perceptron_tagger punkt: #0 1.512 /usr/local/lib/python3.10/runpy.py:126: 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 #0 1.512 warn(RuntimeWarning(msg)) #0 1.523 [nltk_data] Error loading averaged_perceptron_tagger: <urlopen error #0 1.523 [nltk_data] [Errno 99] Cannot assign requested address> #0 1.523 Error installing package. Retry? [n/y/e] #0 1.523 Traceback (most recent call last): #0 1.523 File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main #0 1.523 return _run_code(code, main_globals, None, #0 1.523 File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code #0 1.523 exec(code, run_globals) #0 1.523 File "/opt/venv/lib/python3.10/site-packages/nltk/downloader.py", line 2544, in #0 1.524 rv = downloader.download( #0 1.524 File "/opt/venv/lib/python3.10/site-packages/nltk/downloader.py", line 788, in download #0 1.524 choice = input().strip() #0 1.524 EOFError: EOF when reading a line ------ failed to solve: process "/bin/sh -c python -m nltk.downloader averaged_perceptron_tagger punkt" did not complete successfully: exit code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant