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

Installing depencies in conda takes forever #834

Open
TinoCoda opened this issue Nov 11, 2024 · 1 comment
Open

Installing depencies in conda takes forever #834

TinoCoda opened this issue Nov 11, 2024 · 1 comment

Comments

@TinoCoda
Copy link

After cloning localGPT in my computer, I create a virtual environment using conda with the following command conda create -n localGPT_llama2 and then I activated the VE using conda activate localGPT_llama2.
Running pip install -r requirements.txt it takes forever to install the depencies. I tried it on two computers it can easily take hours and hours.
My first question: is someone else experiencing this problem?
A subsequent issue it the compatibility problems between some libraries. I ran into the following error after trying to run python ingest.py --device_type cpu

C:\Users\Me\AppData\anaconda3\envs\localGPT_llama2\lib\site-packages\langchain\embeddings\huggingface.py", line 152, in init
raise ValueError("Dependencies for InstructorEmbedding not found.") from e
ValueError: Dependencies for InstructorEmbedding not found.

@sreeragu555
Copy link

sreeragu555 commented Nov 13, 2024

For me it took nearly a hour to install all the packages.

I was able to solve this issue by installing the huggingface-hub package.

pip install huggingface-hub===0.24.0

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

2 participants