From 3841792b8ef7d8d9903ba01cfb4c00815dbda89d Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 6 Apr 2023 22:19:13 -0300 Subject: [PATCH 1/2] check wget dependency --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 5374cdb7..eb135c5a 100644 --- a/install.sh +++ b/install.sh @@ -98,6 +98,11 @@ fi echo Downloading latest model wget -P model/ https://the-eye.eu/public/AI/models/nomic-ai/gpt4all/gpt4all-lora-quantized-ggml.bin +if [ $? -ne 0 ]; then + echo "Failed to download model. Please check your `wget` dependency, internet connection and try again." + exit 1 +fi + echo "Virtual environment created and packages installed successfully." echo "Every thing is setup. Just run run.sh" From 5e390fb28aec29546c888daa9e9a3b89275438fc Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 6 Apr 2023 22:19:50 -0300 Subject: [PATCH 2/2] added mac pre-dependencies for installation --- docs/Linux_Osx_Install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Linux_Osx_Install.md b/docs/Linux_Osx_Install.md index 086a285e..52f32b62 100644 --- a/docs/Linux_Osx_Install.md +++ b/docs/Linux_Osx_Install.md @@ -1,5 +1,11 @@ # Installing GPT4All-Webui on Linux or macOS: +\- Make sure you have all the dependencies for requirements +`python3.11 -m pip install cmake` +`python3.11 -m pip install nproc` if you have issues with scikit-learn add the foollowing env var +`SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True` +`python3.11 -m pip install wget` + \- Install requirements python3.11 -m pip install -r requirements.txt