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

File Not Found Error nlp/english-words.txt #2859

Closed
taaha3244 opened this issue Apr 5, 2024 · 1 comment
Closed

File Not Found Error nlp/english-words.txt #2859

taaha3244 opened this issue Apr 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@taaha3244
Copy link

taaha3244 commented Apr 5, 2024

Hello Everyone!!,
I am trying to setup unstructured on google colab

I am facing a "FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/dist-packages/unstructured/nlp/english-words.txt'"

**Code is as below
! pip install -U langchain openai qdrant-client langchain_openai langchain-experimental
! pip install "unstructured[all-docs]" pillow pydantic lxml pillow matplotlib tiktoken numpy
!pip install popper utils tesseract-ocr
!pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"

from langchain_text_splitters import CharacterTextSplitter
from unstructured.partition.auto import partition

image

Will appreciate help

@taaha3244 taaha3244 added the bug Something isn't working label Apr 5, 2024
@cragwolfe
Copy link
Contributor

This was an issue with unstructured==0.13.1 but should be fixed as of 0.13.2 , initially tracked here: #2855 .

@scanny scanny closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants