Open wpilgri opened 2 weeks ago
Hi @wpilgri, Sorry for responding a bit late. Thanks for the description.
1.591 ERROR: No matching distribution found for gpt4all==2.3.2
I can see on pypi that there's a Linux version for gpt4all (https://pypi.org/project/gpt4all/2.3.2/#files) - this is confusing. I was building this successfully on my Mac which is a bit older than yours (and I've just built this again) so I am guessing this could be indeed a Docker issue on M3.
I've found a discussion, where someone suggested using a different FROM
directive adding the architecture: FROM --platform=linux/amd64 python:3.10-slim
Maybe you could try this?
FROM --platform=linux/amd64 continuumio/miniconda3:23.9.0-0
Best, Ben
I am attempting to build the Docker image and am having an issue with the build process.
Run the build command as shown: docker build -t langchain_ai .
The error is related to gpt4all:
=> ERROR [6/8] RUN pip install --prefer-binary --no-cache-dir -r requirements.txt 1.6s
Interestingly this command works successfully when setting up an environment on my M3 Max outside of Docker, so is it a Docker issue?
Any suggestions?