private-gpt icon indicating copy to clipboard operation
private-gpt copied to clipboard

error in poetry install --extras "llms-llama-cpp vector-stores-qdrant ui embeddings-huggingface"

Open Cassioneto opened this issue 1 year ago • 2 comments

Pre-check

  • [X] I have searched the existing issues and none cover this bug.

Description

error of hash pip packages: Hash for nvidia-cusolver-cu12 (11.4.5.107) from archive nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl not found in known hashes (was: sha256:ca74e22bcd84cd0837d76f05ce3cbe6b4da367760e95c4ad91a78b35fb3c8d0e)

Steps to Reproduce

  1. clone or download source for releases
  2. cd to floder code private-gpt-0.5.0
  3. make comand: poetry install --extras "llms-llama-cpp vector-stores-qdrant ui embeddings-huggingface" shot-2024-07-30_02-36-33

Expected Behavior

error to run poetry install --extras "llms-llama-cpp vector-stores-qdrant ui embeddings-huggingface"

Actual Behavior

error to run poetry install --extras "llms-llama-cpp vector-stores-qdrant ui embeddings-huggingface"

Environment

Linux bodhi-7

Additional Information

No response

Version

No response

Setup Checklist

  • [X] Confirm that you have followed the installation instructions in the project’s documentation.
  • [X] Check that you are using the latest version of the project.
  • [X] Verify disk space availability for model storage and data processing.
  • [X] Ensure that you have the necessary permissions to run the project.

NVIDIA GPU Setup Checklist

  • [X] Check that the all CUDA dependencies are installed and are compatible with your GPU (refer to CUDA's documentation)
  • [X] Ensure an NVIDIA GPU is installed and recognized by the system (run nvidia-smi to verify).
  • [X] Ensure proper permissions are set for accessing GPU resources.
  • [ ] Docker users - Verify that the NVIDIA Container Toolkit is configured correctly (e.g. run sudo docker run --rm --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi)

Cassioneto avatar Jul 30 '24 01:07 Cassioneto

Please update to last changes in main. Also, you're running Python 3.10. Can you upgrade to 3.11?

jaluma avatar Jul 31 '24 07:07 jaluma

Write the command in your terminal where your environment is activated for all the failed packages:

poetry add package_name@version It will throw a message something like"build not found" pip install build poetry add package_name@version

then run the command below again:

poetry install --extras "llms-llama-cpp vector-stores-qdrant ui embeddings-huggingface"

which ever package you found failed to install you have to install this way.

umarshahid avatar Aug 01 '24 17:08 umarshahid