mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-29 15:44:12 +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:
|
# 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
|
\- Install requirements
|
||||||
python3.11 -m pip install -r requirements.txt
|
python3.11 -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
@ -98,6 +98,11 @@ fi
|
|||||||
|
|
||||||
echo Downloading latest model
|
echo Downloading latest model
|
||||||
wget -P model/ https://the-eye.eu/public/AI/models/nomic-ai/gpt4all/gpt4all-lora-quantized-ggml.bin
|
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 "Virtual environment created and packages installed successfully."
|
||||||
echo "Every thing is setup. Just run run.sh"
|
echo "Every thing is setup. Just run run.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user