mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
Merge pull request #5 from ivanlp10n2/error-handling-install
#4 Error in macos installation
This commit is contained in:
commit
7c3760ec2a
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user