Merge pull request #5 from ivanlp10n2/error-handling-install

#4 Error in macos installation
This commit is contained in:
Andriy Mulyar 2023-04-06 22:55:19 -04:00 committed by GitHub
commit 7c3760ec2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -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 

View File

@ -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"