EmbedAI icon indicating copy to clipboard operation
EmbedAI copied to clipboard

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

Open thanhtantran opened this issue 1 year ago • 7 comments

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

thanhtantran avatar May 31 '23 07:05 thanhtantran

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://<DOCKER_HOST>:3000

RattyDAVE avatar May 31 '23 07:05 RattyDAVE

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?

thanhtantran avatar May 31 '23 08:05 thanhtantran

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 avatar May 31 '23 08:05 RattyDAVE

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

RattyDAVE avatar May 31 '23 09:05 RattyDAVE

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

Anil-matcha avatar May 31 '23 13:05 Anil-matcha

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

thanhtantran avatar May 31 '23 14:05 thanhtantran

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.

RattyDAVE avatar May 31 '23 14:05 RattyDAVE

Closing as not related

Anil-matcha avatar Jun 13 '23 18:06 Anil-matcha