zylon-ai / private-gpt

Interact with your documents using the power of GPT, 100% privately, no data leaks
https://privategpt.dev
Apache License 2.0
54.14k stars 7.29k forks source link

pip dependencies #593

Closed phsheth closed 1 year ago

phsheth commented 1 year ago

Installing on WSL. Getting below error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. conda-repo-cli 1.0.4 requires pathlib, which is not installed. pycaret 2.3.10 requires scikit-learn==0.23.2, but you have scikit-learn 1.1.1 which is incompatible. botocore 1.24.32 requires urllib3<1.27,>=1.25.4, but you have urllib3 2.0.2 which is incompatible. astroid 2.6.6 requires wrapt<1.13,>=1.11, but you have wrapt 1.14.1 which is incompatible.

How do we deal with this?

Update: Tried on Microsoft Sandbox as well...

Can you list all C++ dependencies we need to install?

getting below error:

error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit code 3221225595 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hnswlib Failed to build llama-cpp-python hnswlib ERROR: Could not build wheels for llama-cpp-python, hnswlib, which is required to install pyproject.toml-based projects

phsheth commented 1 year ago

C++ dependencies were not installeed - once installed everything seems to work.