Replies: 2 comments
-
|
Ubuntu 20.04 Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
|
@sghosh37 I am getting the same error, if you have resolved that can you please let me know? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Getting the below error while executing the command
#:~/chatGPT/privateGPT$ python privateGPT.py
Traceback (most recent call last):
File "/home/sumang/chatGPT/privateGPT/privateGPT.py", line 83, in
main()
File "/home/sumang/chatGPT/privateGPT/privateGPT.py", line 38, in main
llm = GPT4All(model=model_path, max_tokens=model_n_ctx, backend='gptj', n_batch=model_n_batch, callbacks=callbacks, verbose=False)
File "/home/sumang/.local/lib/python3.10/site-packages/langchain/load/serializable.py", line 74, in init
super().init(**kwargs)
File "/home/sumang/.local/lib/python3.10/site-packages/pydantic/main.py", line 339, in init
values, fields_set, validation_error = validate_model(pydantic_self.class, data)
File "/home/sumang/.local/lib/python3.10/site-packages/pydantic/main.py", line 1102, in validate_model
values = validator(cls_, values)
File "/home/sumang/.local/lib/python3.10/site-packages/langchain/llms/gpt4all.py", line 130, in validate_environment
from gpt4all import GPT4All as GPT4AllModel
File "/home/sumang/.local/lib/python3.10/site-packages/gpt4all/init.py", line 1, in
from . import gpt4all # noqa
File "/home/sumang/.local/lib/python3.10/site-packages/gpt4all/gpt4all.py", line 6, in
from . import pyllmodel
File "/home/sumang/.local/lib/python3.10/site-packages/gpt4all/pyllmodel.py", line 39, in
llmodel, llama = load_llmodel_library()
File "/home/sumang/.local/lib/python3.10/site-packages/gpt4all/pyllmodel.py", line 32, in load_llmodel_library
llama_lib = ctypes.CDLL(llama_dir, mode=ctypes.RTLD_GLOBAL)
File "/usr/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: /home/sumang/.local/lib/python3.10/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllama.so: cannot open shared object file: No such file or directory
#:~/chatGPT/privateGPT$ python --version
Python 3.10.12
All packages are installed successfully. Except gpt4all==1.0.3. Version 1.0.3 was not available. Got the below error. Hence installed version 0.1.7
#:~/chatGPT/privateGPT$ pip3 install gpt4all==1.0.3
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement gpt4all==1.0.3 (from versions: 0.1.5, 0.1.6, 0.1.7)
ERROR: No matching distribution found for gpt4all==1.0.3
I am using ubuntu on ARM64
Beta Was this translation helpful? Give feedback.
All reactions