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

No matching distribution found for gpt4all==0.3.4

Open wsimon98 opened this issue 1 year ago • 3 comments

Note: if you'd like to ask a question or open a discussion, head over to the Discussions section and post it there.

Describe the bug and how to reproduce it Cannot run the pip3 install -r requirements.txt

Expected behavior get error regarding GPT4ALL:

ERROR: Could not find a version that satisfies the requirement gpt4all==0.3.4 (from versions: 0.1.5, 0.1.6, 0.1.7) ERROR: No matching distribution found for gpt4all==0.3.4

Environment (please complete the following information):

  • OS / hardware:Windows 2019
  • Python version pip 23.1.2 from C:\Program Files (x86)\Python310-32\lib\site-packages\pip (python 3.10)

wsimon98 avatar Jun 16 '23 22:06 wsimon98

It seems that gpt4all==0.3.4 is not available for aarch64 Linux (wheels are not built). 0.1.7 installs but does not work: OSError: ...../privateGPT/.venv/lib/python3.10/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllama.so: cannot open shared object file: No such file or directory (only .dylib files are installed, no .so ones)

Pipeliner avatar Jun 16 '23 23:06 Pipeliner

gpt4all can be built locally: https://github.com/nomic-ai/gpt4all/blob/main/gpt4all-bindings/python/README.md I get pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All though this seems to be a known issue.

Pipeliner avatar Jun 16 '23 23:06 Pipeliner

Same problem when running the command:

~/privateGPT# pip install -r requirements.txt
Collecting langchain==0.0.197
  Using cached langchain-0.0.197-py3-none-any.whl (1.0 MB)
ERROR: Could not find a version that satisfies the requirement gpt4all==0.3.4 (from versions: 0.1.5, 0.1.6, 0.1.7)
ERROR: No matching distribution found for gpt4all==0.3.4

Below my setup.

MacBook Air M2

  • MacOS Ventura 13.0.1

Docker version 23.0.5:

  • Ubuntu 22.04.2 LTS (Jammy Jellyfish)
  • Python 3.10.6
  • pip 22.0.2

Obs: I used as guide the article: https://github.com/imartinez/privateGPT

leandro-jm avatar Jun 20 '23 13:06 leandro-jm

+1 would be great if you could provide aarch/arm64 wheels as well!

janpawellek avatar Jun 27 '23 11:06 janpawellek

I'm getting this error on AMD64 also when running pip3 install -r requirements.txt

No matching distribution found for gpt4all==0.3.4

M0E-lnx avatar Jun 29 '23 17:06 M0E-lnx

I managed to build my own, hope it helps

https://documentingthings.wordpress.com/2023/07/10/chatgpt-x-raspberry-pi/

billybahlah1976 avatar Jul 10 '23 20:07 billybahlah1976