SamurAIGPT / EmbedAI

An app to interact privately with your documents using the power of GPT, 100% privately, no data leaks
https://www.thesamur.ai/?utm_source=github&utm_medium=link&utm_campaign=github_privategpt
MIT License
2.79k stars 301 forks source link

Could not find a version that satisfies the requirement gpt4all==0.2.3 #33

Closed thanhtantran closed 1 year ago

thanhtantran commented 1 year ago

Hello,

I run the command pip3 install -r requirements.txt and get this error

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

RattyDAVE commented 1 year ago

Your PIP is out of date.

This is my prep script.

apt install -y curl
curl -sL https://deb.nodesource.com/setup_18.x | bash -
apt install -y git nodejs python3 build-essential python3-dev
curl https://bootstrap.pypa.io/get-pip.py | python3

I have "Dockerised" this and made it easy to run.

docker run -d --name PrivateGPT \
  -p 3000:3000 \
  -p 5000:5000 \
  rattydave/privategpt

Access via http://:3000

thanhtantran commented 1 year ago

Ah, i figure out the problem. I try to run privateGPT on Orange Pi 5, an arm64 machine. When installing gpt4all using pip the highest version supported is 0.1.7.

If i modify the requirements.txt to 0.17, does it work?

RattyDAVE commented 1 year ago

Thank you. I have just done it for myself like all my projects. If it is of use to someone else that I am all for that.

RattyDAVE commented 1 year ago

Orange Pi 5! That's optimistic!

I like your thinking.

Have you tried removing the pip/pip3 you have installed and getting the version using the following command:

curl https://bootstrap.pypa.io/get-pip.py | python3
Anil-matcha commented 1 year ago

You need 16GB RAM to be able to run the model. So Orange Pi 5 might not be an ideal one to run it

thanhtantran commented 1 year ago

You need 16GB RAM to be able to run the model. So Orange Pi 5 might not be an ideal one to run it

I am using Orange Pi 5 with 16GB RAM, the only problem is gpt4all not match required version

BTW, Dockerised version of @RattyDAVE doesn't work on ARM64 machine

RattyDAVE commented 1 year ago

BTW, Dockerised version of @RattyDAVE doesn't work on ARM64 machine

ARM64 does not have Python Module gpt4all==0.2.3

So that's bad news.

Anil-matcha commented 1 year ago

Closing as not related