Open rmuhawieh opened 9 months ago
which instructions ? @rmuhawieh i did not see any build form source steps https://docs.privategpt.dev/overview/welcome/quickstart this is the fastest way https://docs.privategpt.dev/installation this is what i was able get going
looks like this is needed in your case as the error states
ImportError: Could not import llama_cpp library.Please install llama_cpp with pip install llama-cpp-python.See the full installation guide for GPU support at https://github.com/abetlen/llama-cpp-python
which instructions ? @rmuhawieh i did not see any build form source steps https://docs.privategpt.dev/overview/welcome/quickstart this is the fastest way https://docs.privategpt.dev/installation this is what i was able get going
looks like this is needed in your case as the error states
ImportError: Could not import llama_cpp library.Please install llama_cpp with pip install llama-cpp-python.See the full installation guide for GPU support at https://github.com/abetlen/llama-cpp-python
I followed the steps/instructions from the same link you sent, which outputted the error message above
hey there i had the same issue when installing. i was using debain but that's no difference i guess.
you need to follow the instruction the error message is telling you: install llama-cpp-python
you have to activate the virtual environment first and then (like in the error message described) pip install llama-cpp-python
This is not actually an error but the docs is a bit confusing. The reason is because gradio
is an optional package. Address it as follows:
Step 1. modify pyproject.toml
Step2. Refresh the .lock
file
poetry lock --no-update
Step 3. Run installation once again
poetry install --with ui
Step 4. make run
I'm having the same error, and I tried the solution @nguyenvulong suggest without success.
I noticed there's a ModuleNotFoundError
, which may raise the importError
of llama_cpp
module.
ModuleNotFoundError: No module named '_sqlite3'
Could it be related to line?
I followed the step-by-step instructions but upon running make run to check if it all worked, I get the following error message:
File "/home/ubuntu/.cache/pypoetry/virtualenvs/private-gpt-Wtvj2B-w-py3.11/lib/python3.11/site-packages/injector/init.py", line 798, in get return self._context[key]